ObjectDCL Banner

OnColumnClick Event

Description

Indicates the user has just clicked on the column header button.

Parameters

nColumn
Integer identifying the column being clicked.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnColumnClick 
                 (nColumn /)
     
)

Applies For

EditableGrid, ListView.

Example

CopyCode imageCopy Code
; React to the column header being clicked
(defun c:MyForm_MyControl_OnColumnClick
                 (nColumn /)
     (princ "OnColumnClick")
     (princ nColumn)
     (princ "\n")
)