TextBox Constructor | |
Create a message box.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax CONSTRUCTOR(
uParent,
uCaption,
uText,
nType
) CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public TextBox(
Usual uParent = default,
Usual uCaption = default,
Usual uText = default,
Usual nType = default
)
Request Example
View SourceParameters
- uParent (Optional)
- Type: Usual
The window that owns the message box. If omitted, the text box is application modal (that is, the application is suspended until the user acknowledges the text box). - uCaption (Optional)
- Type: Usual
The text to be displayed in the title bar of the message boxor the hyperlabel containing a caption and description for the text box. If omitted, the default is NULL_STRING. - uText (Optional)
- Type: Usual
The information to be printed in the message box. . If omitted, the default is NULL_STRING.
- nType (Optional)
- Type: Usual
The text box type. Valid types include the following button combinations and/or icons:
Group 1: buttons
Constant | Button(s) |
---|
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 | Icon |
---|
BOXICONASTERISK
| An icon consisting of a lowercase 'i' within a circle |
BOXICONEXCLAMATION
| An exclamation mark |
BOXICONHAND | A warning icon |
BOXICONQUESTIONMARK | A question mark |
See Also