CENTER property (Animate)
Description
Centers the animation in the middle of the control when set, otherwise the animation is displayed in the top-left position.
Property Value
The CENTER property is a Boolean value of "0" (FALSE$) or "1" (TRUE$).
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
N/A
Example
// Example: // // Open an AVI file called "FileCopyXP.avi" and begin playing // immediately in the centre of the control $Insert Logical ObjxArray = @Window : ".ANI_COPYING" PropArray = "AUTOPLAY" DataArray = TRUE$ ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "CENTER" DataArray := @Rm : TRUE$ ObjxArray := @Rm : @Window : ".ANI_COPYING" PropArray := @Rm : "CLIPNAME" DataArray := @Rm : ".\avi\filecopyxp.avi" Call Set_Property_Only( ObjxArray, PropArray, DataArray )
See Also
N/A