GetStyle Method (TABCONTROL)
PLBCMP GUI Only, 9.4C
The GetStyle method retrieves the current style bit mask for a TABCONTROL object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A TABCONTROL object that is accessed.
style
Optional. A Numeric Variable into which the current style bit mask value is stored.
Flags Affected: EOS, OVER, ZERO
Note the following:
If the value returned is zero, the ZERO Condition Flag is set.
The OVER Condition Flag is set if the {return} value is too large to be stored without truncation.
The EOS Condition Flag are always cleared.
The bit mask value that is stored in the {style} variable will contain the following bit values. Other bit values can be ignored.
|
Value |
Style |
|
0x8 |
$TCS_FLATBUTTONS |
|
0x10 |
$TCS_FORCEICONLEFT |
|
0x20 |
$TCS_FORCELABELLEFT |
|
0x40 |
$TCS_HOTTRACK |
|
0x100 |
$TCS_BUTTONS |
|
0x200 |
$TCS_MULTILINE |
|
0x400 |
$TCS_FIXEDWIDTH |
|
0x800 |
$TCS_RAGGEDRIGHT |
This method is not available when using the PL/B Web Server.
See Also: Method Syntax, TABCONTROL Methods
![]() |