Topic: APLX Help : System Classes : Methods : Expand
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'Expand' method


Argument: Two-element nested vector
Result: None

Valid for: Tree

The Expand method is used to expand or collapse a given node. The argument is a two element nested vector, comprising a character vector which indicates the action to be taken, and the node ID. The supported actions are:

        'expand'               Open node to display children
        'collapse'             Close node to hide children
        'toggle'               Expand if closed or Collapse if open
        'expandbranch'         Open node to display children, recursively
        'collapsebranch'       Close node to hide children (recursively)
        'collapsereset'        Remove all children (not implemented under MacOS)

Topic: APLX Help : System Classes : Methods : Expand
[ Previous | Next | Contents | Index | APL Home ]