ObjectDCL Banner

OnBeginLabelEdit Event

Description

Indicates that the user has started to edit the item label.

Parameters

Key
String specifying the a unique key in the tree structure identifying the tree node.
Tree Node Handle specifying the tree node uniquely.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnBeginLabelEdit 
                 (Key [as String or Tree Node Handle] /)
     
)

Applies For

TreeControl.

Example

CopyCode imageCopy Code
; React to the drag-and-drop operation ending in the control originating from
; another ObjectDCL control
(defun c:MyForm_MyControl_OnBeginLabelEdit
                 (Key /)
     (princ "OnBeginLabelEdit")
     (princ Key)
     (princ "\n")
)

See Also

EditLabel, OnEditLabelItem (TreeControl), Tree_CancelEditLabel, Tree_EditLabel