TABSTYLE Property
PLBCMP GUI Only, 9.4C
The TABSTYLE property specifies set the orientation style of the tabs on a TABCONTROL object. The property uses the following format:
TABSTYLE={value}
Note the following:
TABSTYLE may be used in CREATE, or GETPROP statements of a TABCONTROL object.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
The tabs are ... |
|
0 |
$TC_TOP |
horizontal along the top. (default) |
|
1 |
$TC_BOTTOM |
horizontal along the bottom. |
|
2 |
$TC_LEFT |
vertical along the left side. |
|
3 |
$TC_RIGHT |
vertical along the right side. |
When the '&' hot ALT-Key sequence is specified in the tab label string, the Windows normally detects the '&' character an forces an underlined character in the output. However, when the $TC_LEFT or $TC_RIGHT styles are used, the Windows does not force an underlined character in the output when the '&' is specified.
There are Windows behaviors that occur when the MULTILINE property is applied for a TABCONTROL.
If a TABCONTROL is created with a TABSTYLE of $TC_LEFT or $TC_RIGHT, the MULTIROW property does not take affect. The MULTILINE works as expected when the $TC_TOP or $TC_BOTTOM styles are used.
If a TABCONTROL is created with a TABSTYLE of $TC_RIGHT, a SETPROP MULTIROW=0 causes the tabcontrol labels to disappear. If a SETPROP MULTIROW=1 causes the tabcontrol labels to re-appear.
The $TCS_MULTILINE style for the SetStyle method has the same Windows behaviors as described for the MULTILINE property.
This property is not available when using the PL/B Web Server.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |