Move a control the specified number of pixels
Ancestors - Animation Item (PRIM_ANIM.AnimationItem) Object (PRIM_OBJT)
The Move animation moves the managed control the number of pixels specified in the Left and Top parameters. When the animation completes the control Left and Top will have been adjust by the values specified.
This example shows a simple animation that would move a label 100 pixels to the left.
Define_Com Class(#prim_anim) Name(#Animation) Define_Com Class(#prim_anim.Move) Name(#Animation1) Parent(#Animation) Left(100) Manage(#Label)
Name | Description |
---|---|
ComponentClassName | ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
ComponentMembers | ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
ComponentPatternName | ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
ComponentTag | Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
ComponentType | ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
ComponentTypeName | ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
Duration | Number of milliseconds to take to complete the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
Left | Number of pixels to move horizontally |
Manage | Reference to the control affected by the animation |
Name | Name identifies the component Inherited from Object (PRIM_OBJT) |
Owner | Owner owns this component Inherited from Object (PRIM_OBJT) |
Parent | Reference to the animation of which this item is a part Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
StartTime | Number of milliseconds to wait before starting the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
Top | Number of pixels to move vertically |
Name | Description |
---|---|
CreateInstance | CreateInstance is signalled when an instance of a component is created Inherited from Move Animation (PRIM_ANIM.Move) |
DestroyInstance | DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Move Animation (PRIM_ANIM.Move) |
Febuary 18 V14SP2