TAB dialog element |
|
| Top Previous Next | |
Syntax:
DIALOG ADD,TAB,<name>,<top>,<left>,<width>,<height>,<tabs>,<tooltip>,<styles>
Description:
This dialog element adds a tabbed panel to the dialog box. This can be used to display multiple pages, similar to the properties pages in Windows.
The names of the tabs are defined in <tabs> as a string of names separated by vertical bar characters, e.g. Tab 1|Tab 2|Tab 3. When a tab is clicked, a <tab name>CLICK event is generated. The script must process this to remove dialog elements that are not required for this tab page, and recreate new ones. (In design mode, a <name>CLICK event is generated instead.)
Styles:
When a style is applied to a TAB dialog element it applies automatically to all the dialog elements placed within it. When a TAB dialog element is enabled, disabled, shown or hidden, this action is applied to the dialog elements placed within it.
In addition to user-defined styles to change the default font style and color, the following styles may be used with this dialog element:
MULTI |
The tabs defined may be displayed on multiple lines in order to fit the space available. |
<cursor style> |
The cursor will change to the named style when the pointer is over the dialog element. Valid styles are: NONE, ARROW, CROSS, IBEAM, SIZE, NESW, NS, NWSE, WE, UP, WAIT, DRAG, NODROP, HSPLIT, VSPLIT, MULTI, SQL, NO, HELP, HAND. |
See also: