ObjectDCL Banner

OnChanged Event

Description

Indicates that the value of the control has changed.

Parameters

nSelIndex
Integer identifying the index of the selected tab or item.

AutoLISP Syntax

Each control that throws this event has its handler that takes this generic form:

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnChanged 
                 (nSelIndex [as Integer] /)
     
)

Applies For

TabControl.

Example

CopyCode imageCopy Code
; React to the selection change
(defun c:MyForm_MyControl_OnChanged
                 (nSelIndex /)
     (princ "OnChanged(")
     (princ nSelIndex)
     (princ ")\n")
)

See Also

OnSelChanging