AfterLabelEdit

The AfterLabelEdit event occurs after a user edits the label of the currently selected Node or ListItem object.

Syntax

Private Sub object_AfterLabelEdit (newstring)

The AfterLabelEdit event syntax has these parts:

Part Description
object An object expression that evaluates to an object.
newstring The string the user entered, or Null if the user canceled the operation.

Remarks

Both the AfterLabelEdit and the BeforeLabelEdit events are generated only if the LabelEdit property is set to 0 (Automatic), or if the StartLabelEdit method is invoked.

The AfterLabelEdit event is generated after the user finishes the editing operation, which occurs when the user clicks on another Node or ListItem, or presses the ENTER key.