CancelButton( xPos, yPos, Width, Height, Text, ButtonID )

Creates a Cancel button in a dialog.

Parameters:

xPos

Integer

Vertical position of the button

yPos

Integer

Horizontal position of the button

Width

Integer

Button Width

Height

Integer

Button Height

ButtonID

Variant

Variant to set or receive ButtonID (optional)

 

Remarks:

See the BeginDialog statement reference for a complete dialog definition that includes this element.

If ButtonID is omitted, then the ButtonGroupID Variant is set to zero (0) when the Cancel button is selected by the user.