DateTimePicker.addOnUserString

Overview | Methods | This Package | All Packages

DateTimePicker.addOnUserString

Assigns a delegate to the userString event.

Syntax

public final void addOnUserString( DateTimeUserStringEventHandler value )

Parameters

value

The DateTimeUserStringEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the userString event to that method in the Properties window. The userString event occurs when the user has finished editing the contents of the date and time picker control. This event can be triggered only if the allowUserString property is set to true.

See Also   removeOnUserString