Overview | Methods | This Package | All Packages
Assigns a delegate to the beforeLabelEdit event.
Syntax
public final void addOnBeforeLabelEdit( LabelEditEventHandler value )
Parameters
value
The LabelEditEventHandler delegate to be notified when the event occurs.
Remarks
Passing an event handler as a parameter to this method is equivalent to setting the beforeLabelEdit event to that method in the Properties window. The beforeLabelEdit event occurs when the user begins modifying the text for a list view item. The event handler can cancel this event, and the user cannot edit the text. Use this event to prevent the user from editing specific items in the list view control. If the labelEdit property of the ListView control is set to false, the beforeLabelEdit event is not triggered. All user attempts to edit item labels are automatically rejected.
See Also removeOnBeforeLabelEdit