|
ctMove
ctMove
is one of ten simulation controls found in the Component ToolBox
ideal for creating
animated push buttons or multi-state buttons.

ctMove displays a set of pre-defined bitmap images
when the component receives a mouse click. The number of picture clips
that are used, the timing between the display of each bitmap, and the
display sequence are defined by the developer.
Activating animation: ctMove's
animation sequence may be initiated interactively when the user clicks on
the object. Additionally, the click event can be triggered in code with
the StartMove method.
Controlling animation: Custom methods
and events give developers complete control over ctMove's animation
functionality. StartMove begins the custom defined sequence. The
EndSequence event is triggered when the animation sequence of the
component is complete. The KillMove property can terminate the animation
sequence before it has run its course.
Text display: Along with the
graphic animation, ctMove can display a text caption. The display of the
caption can be modified by changing its color, font, and position within
the component.
Controlling sequence: The animation
sequence can be defined to behave in several ways. In one setting, each
picture is displayed in order from first to last. Another setting causes
the sequence to run in order from first to last; the following sequence
then runs from last to first. Finally, a user-defined setting is available
which allows developers to specify the exact order of pictures to be
displayed in a given sequence.
Display options: The ctMove object may
be displayed with various styles of borders. Any available colors may be
specified for borders, foreground
and background, disabled state, and shadow effect. The component may be
set to display a focus indicator.
Found in:
|