Click or drag to resize

AnimationControl.Create Method

X#
Creates the underlying window control for a X# animation control object.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Create() AS USUAL
Request Example View Source

Return Value

Type: Usual
The window handle of the control, if successful. A null handle (NULL_PTR) is returned if the control creation failed.
Remarks
The Create() method creates the underlying window control for controls not loaded from a resource (i.e., designed with the Window Editor) but created at runtime. Normally, it is not necessary to call Create() directly—CA-X# will create the object internally as soon as a window handle is needed.
Examples
X#
1METHOD CreateAnimationControl() CLASS MyDataWindow
2LOCAL oAC AS AnimationControl
3// Init creates the X# AnimationControl Object
4oAC := AnimationControl{SELF, 100, Point{10,10}, Dimension{100,20}}
5// Calling Create forces the Windows control to be created
6oAC:Create()
See Also