ItemExpanded (Key)

Function Name c:<CONTROL-NAME>#OnItemExpanded
Syntax   (defun c:<CONTROL-NAME>#OnItemExpanded (Label [as String] Key [as Handle or String] /)
)
Return Type Ignored
Applies To Tree

This event is triggered when the specified item was expanded or collapsed. Label is the expanded or collapsed item's label. Key identifies the item; it is a string if the control uses string keys; otherwise it is a unique handle that identifies the item.