Click or drag to resize

HotKeyEdit.Create Method (Typed)

X#
Creates the underlying window control for a X# hot key edit object.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Create() AS Control
Request Example View Source

Return Value

Type: Control
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 CreateHotKeyEdit() class MyDataWindow
2local oHK as HotKeyEdit
3// Init creates the X# HotKeyEdit Object
4oHK := HotKeyEdit{self, 100, Point{10,10}, Dimension{100,20}}
5// Calling Create forces the Windows control to be created
6oHK:Create()
See Also