TextBox.Type Property | |
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
public virtual Usual Type { get; set; }
Request Example
View SourceProperty Value
Type:
UsualA 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
Constant | Description |
---|
BOXABORTRETRYIGNORE | Abort, Retry, and Ignore |
BUTTONOKAY |
OK (This is the default.)
|
BUTTONOKAYCANCEL | OK and Cancel |
BUTTONRETRYCANCEL | Retry and Cancel |
BUTTONYESNO | Yes and No |
BUTTONYESNOCANCEL | Yes, No, and Cancel |
Group 2: Standard Icons
Constant | Description |
---|
BOXICONASTERISK | An icon consisting of a lowercase "i" within a circle |
BOXICONEXCLAMATION | An exclamation mark |
BOXICONHAND | A warning icon |
BOXICONQUESTIONMARK | A question mark |
Examples
This example creates a text box with an exclamation mark icon and the OK and Cancel buttons:
1oTextBox:Type := BOXICONEXCLAMATION + BUTTONOKAYCANCEL
See Also