BUTTONS Property
PLBCMP GUI Only
The BUTTONS property controls the display of plus (+) and minus (-) buttons adjacent to parent items of a TREEVIEW object. These buttons allow the user to expand or collapse the parent's list of child items. The property uses the following format:
BUTTONS={value}
Note the following:
BUTTONS may be used in CREATE, SETPROP, or GETPROP statements of a TREEVIEW object.
The buttons will not appear unless the TreeLnStyle is set to $LinesAtRoot.
{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 |
Button display is ... |
|
0 |
$OFF |
disabled. (default) |
|
1 |
$ON |
enabled. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |