event FocusChanged ()
Fired when the focused date is changed.

 TypeDescription 
The FocusChanged event notifies your application that a new date is focused. use the FocusDate property to retrieve or sets the date that has the focus. Use the SelDate property to select a date. Use the Disabled property to disable a date. The SelectionChanged event is fired when user changes the selection. The control fires the DateChanged event when a new date is browsed.

The following VB sample prints the focused date when user changes selects a new date:

Private Sub Calendar1_FocusChanged()
    Debug.Print Calendar1.FocusDate
End Sub


Send comments on this topic.
© 1999-2010 Exontrol.COM, Software. All rights reserved.