ItemExpanding (Key)

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

This event is triggered when the specified item is about to expand or collapse. Label is the expanding or collapsing 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.