trigger collapse

Interactive trigger that handles processing to collapse a tree item so that subordinate items are no longer shown in the tree view of a Tree widget.

trigger collapse
params
   string control: in ; TREE | LIST | KEYBOARD
   string item: in
endparams

; <Your code here>

end ; trigger collapse
Applies to: Form widgets: utree (Tree)
Activation: Activated when the user clicks the collapse icon of an expanded tree item, or performs the corresponding keyboard action so that subordinate tree items are no longer shown in the tree view
Default behavior: None
Behavior upon completion: None

Parameters

  • control—input control used by the user; one of:
    • TREE—user clicked in the tree view
    • LIST—user clicked in the list view
    • KEYBOARD—user performed a keyboard action
  • item—value of the selected tree item