Move Animation (PRIM_ANIM.Move)

Move a control the specified number of pixels

Ancestors - Animation Item (PRIM_ANIM.AnimationItem) Object (PRIM_OBJT)

Details

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.

Example

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)

Properties

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
DurationNumber of milliseconds to take to complete the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem)
LeftNumber of pixels to move horizontally
ManageReference to the control affected by the animation
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentReference to the animation of which this item is a part Inherited from Animation Item (PRIM_ANIM.AnimationItem)
StartTimeNumber of milliseconds to wait before starting the animation Inherited from Animation Item (PRIM_ANIM.AnimationItem)
TopNumber of pixels to move vertically

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Move Animation (PRIM_ANIM.Move)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Move Animation (PRIM_ANIM.Move)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2