Function Name | c:<CONTROL-NAME>#OnSelChanged |
---|---|
Syntax | (defun c:<CONTROL-NAME>#OnSelChanged
(ItemIndexOrCount [as
Long] Value [as
String] /) |
Return Type | Ignored |
Applies To | Combo Box, Image Combo Box, List Box, Option List |
This event is triggered after the current selection has changed. For a single selection list, ItemIndexOrCount is the index of the newly selected item, and Value is the item text. For a multiple selection list, ItemIndexOrCount is the number of selected items, and Value is an empty string. Note that OnSelChanged is triggered only when the selection is changed by user interaction; it is not called when the selection is changed programmatically.