trigger expand

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

trigger expand
   string control: in ; TREE | LIST | KEYBOARD
   string item : in

; <Your code here>

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


  • 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