AfterLabelEdit

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

Syntax

Private Sub control_AfterLabelEdit(cancel, newstring)

Parameters

control
Object expression that evaluates to a ListView or TreeView control.
cancel
An integer that determines if the operation is canceled. Any nonzero integer cancels the operation. The default is 0.
newstring
String entered by a user, or Null if the user canceled the operation.

Remarks

After a user completes an editing operation, the user generates the AfterLabelEdit event by choosing a Node or ListItem object or by pressing the ENTER key.

A user generates the AfterLabelEdit event only if you set the LabelEdit property to 0 (tvwAutomatic or lvwAutomatic) or if you invoke the StartLabelEdit method.