This control adds a special capability to the standard button. Instead of having a
fixed caption this control animates its caption letter for letter. When animating is done
it fires the completed event in which you could assign a new CaptionText to restart
animating or performing some action (e.g. a countdown on a button which starts the next
page automatically after completion). Moreover the button has got a BorderStyle property
that gives you the possibility to make the button inset.
If you want to use the control on your page, you either have to download the
ASoftSlowMotionButton.CAB file and replace the CODEBASE with the URL where you put the
control or have to replace it with the complete URL of this CAB
(http://www.A-SoftTech.com/ActiveX/ASoftSlowMotionButton.CAB) as shown above.
Programming Information:
Name of property/event:
Type
Description:
CaptionText (property)
String
Sets the Text to be displayed as Caption;restarts animating the text.
BorderStyle (property)
(1 or 0)
0 means standard button, 1 means inset button; Standard:0.
Interval (property)
Long
Sets the time in milliseconds between the output of two letters; Standard: 100.
DoLoop (property)
Boolean
true means the control loops infinite; Default: false
Standard Button events
-
Click, MouseMove and other standard Button events.
Completed (event)
-
Fired when showing the CaptionText is complete.
Here are some Examples of Slow Motion Buttons:
Credits:
A-Soft Slow Motion Button Control was written entirely by A. Nahr. The control was
finished in the version 1.0 on the 18th of April 1997.