Click or drag to resize

TextControl Constructor

X#
Create a text control.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	oOwner,
	xId,
	oPoint,
	oDimension,
	cRegclass,
	kStyle,
	lDataAware
) CLIPPER
Request Example View Source

Parameters

oOwner (Optional)
Type: Usual
The window that owns the text control.
xId (Optional)
Type: Usual
The unique ID between 1 and 8000 of the text control.
oPoint (Optional)
Type: Usual
The origin of the text control in canvas coordinates.
oDimension (Optional)
Type: Usual
The dimension of the text control in canvas coordinates.
cRegclass (Optional)
Type: Usual
The window class name (e.g., 'ListBox') of the control.
kStyle (Optional)
Type: Usual
Constant representing the window style of the control, specified either by a X# style constant or a Windows API style constant. Styles can be combined using the _Or() operator.
lDataAware (Optional)
Type: Usual
A logical value specifying whether the text control is data aware. For detailed information, see TextControl:Init() and the corresponding Init() method topics for the Button, CheckBox, ComboBox, DateTimePicker, Edit, FixedText, GroupBox, HotKeyEdit, IPAddress, ListBox, ListView, MonthCalendar, MultiLineEdit, PushButton, RadioButton, RadioButtonGroup, RichEdit, and SingleLineEdit subclasses in the online help.
Remarks
Tip Tip
Consult your Microsoft Win32 Software Development Kit documentation for detailed information about a particular Windows API constant.
See Also