SelChanged (Key)

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

This event is triggered when a new item is selected. Label is the selected 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.