Click or drag to resize

Button Constructor (Typed)

X#
Construct a button.

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

Parameters

oOwner (Optional)
Type: Usual
The window that owns the button.
xID (Optional)
Type: Usual
The unique ID of the button (between 1 and 8000).
oPoint (Optional)
Type: Usual
The origin of the button in canvas coordinates.
oDimension (Optional)
Type: Usual
The dimension of the button in canvas coordinates.
cText (Optional)
Type: Usual
The informational text to be printed in the button. By default, it is a NULL_STRING.
kStyle (Optional)
Type: Usual
The style of the button, specified by a Windows API style constant.
Tip Tip
Consult your Microsoft Win32 Software Development Kit documentation for detailed information about a particular Windows API style constant.
lDataAware (Optional)
Type: Usual
A logical value specifying whether the button is data aware. If omitted, defaults to FALSE.
See Also