Microsoft SDK for Java

DateTimePicker.addOnValueChanged

Assigns a delegate to the valueChanged event.

Syntax

public final void addOnValueChanged( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the valueChanged event to that method in the Properties window. The valueChanged event occurs when the value in the DateTimePicker control changes.

See Also   removeOnValueChanged

© 1999 Microsoft Corporation. All rights reserved. Terms of use.