Microsoft SDK for Java

MonthCalendar.addOnDateSelected

Assigns a delegate to the dateSelected event.

Syntax

public void addOnDateSelected( DateRangeEventHandler value )

Parameters

value

The DateRangeEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the dateSelected event to that method in the Properties window. The dateSelected event occurs when user explicitly changes his or her selection.

See Also   removeOnDateSelected

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