Overview | Methods | This Package | All Packages
Assigns a delegate to the beforeCheck event.
Syntax
public void addOnBeforeCheck( TreeViewCancelEventHandler value )
Parameters
value
The TreeViewCancelEventHandler delegate to be notified when the event occurs.
Remarks
Passing an event handler as a parameter to this method is equivalent to setting the beforeCheck event to that method in the Properties window. The beforeCheck event occurs when the check box for a tree node is about to be checked. If the event handler cancels this event, the check box will not be checked.
See Also removeOnBeforeCheck