ObjectDCL Banner

OnEditLabelItem Event

Description

Indicates that the user has finished editing the item label.

Parameters

sItemText
String identifying the label of the tree item.
nRow
Integer specifying the row.
nCol
Integer specifying the column.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnEditLabelItem 
                 (sItemText [as String] nRow [as Integer] nCol [as Integer] /)
     
)

Applies For

ListView.

Example

CopyCode imageCopy Code
; React to the user finishing editing the label of a tree node
(defun c:MyForm_MyControl_OnEditLabelItem
                 (sItemText nRow nCol /)
     (princ "OnEditLabelItem(")
     (princ sItemText)
     (princ ", ")
     (princ nRow)
     (princ ", ")
     (princ nCol)
     (princ ")\n")
)

See Also

EditLabel, OnBeginLabelEdit (ListView)