Xbasic
{TOOLCAPTION}
Syntax
{TOOLCAPTION}
Description
The {TOOLCAPTION} causes the dialog to display a special half height title bar when the dialog is configured as a toolbar. NOTE: To configure a dialog to display as a toolbar, the dialog must be modeless, and must include the {DOCKABLE} command. If the dialog is configured as a standard modal dialog (i.e. it is displayed using the ui_dlg_box() function), then the {TOOLCAPTION} command turns off the red X button in the title bar.
Example
'Display a modeless Xdialog configured to display as a toolbar. ui_modeless_dlg_box("Toolcaption Test",<<%dlg% {toolcaption} {dockable=float} This is a modeless dialog with the \{toolcaption} and \{dockable} command.; It displays the special 'toolcaption' title bar.; ; %dlg%)
Another Example:
'A standard modal Xdialog. ui_dlg_box("Toolcaption Test",<<%dlg% {toolcaption} This is a modal dialog with the \{toolcaption} command.; Notice that it does not have the red X button in the title bar.; ; %dlg%)
Limitations
Desktop applications only.
See Also