Click or drag to resize

TextBox.Type Property

X#
A constant or combination of constants that indicates which push buttons and/or icons are displayed in the message box

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY Type AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
A constant or combination of constants that indicates which push buttons and/or icons are displayed in the message box
Remarks
A constant or combination of constants that indicates which push buttons and/or icons are displayed in the message box. One item from each of these groups is added together to create the combination that you choose.

Group 1: Standard Button Combinations

ConstantDescription
BOXABORTRETRYIGNOREAbort, Retry, and Ignore
BUTTONOKAY OK (This is the default.)
BUTTONOKAYCANCELOK and Cancel
BUTTONRETRYCANCELRetry and Cancel
BUTTONYESNOYes and No
BUTTONYESNOCANCELYes, No, and Cancel

Group 2: Standard Icons

ConstantDescription
BOXICONASTERISKAn icon consisting of a lowercase "i" within a circle
BOXICONEXCLAMATIONAn exclamation mark
BOXICONHANDA warning icon
BOXICONQUESTIONMARKA question mark
Examples
This example creates a text box with an exclamation mark icon and the OK and Cancel buttons:
X#
1oTextBox:Type := BOXICONEXCLAMATION + BUTTONOKAYCANCEL
See Also