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:

  1. BUTTONS may be used in CREATE, SETPROP, or GETPROP statements of a TREEVIEW object.

  2. The buttons will not appear unless the TreeLnStyle is set to $LinesAtRoot.

  3. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  4.  

    Value

    Keyword

    Button display is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference BUTTONENTERKEY Property BUTTONSTATE Property