Calander Control 10.0

TheOx2K

Registered User.
Local time
Today, 02:13
Joined
Feb 19, 2002
Messages
28
Im trying to use a Calander Control to return the value as a date.

But i cant get it to work.

I have tried a simple peice of code on the LostFocas property but this does not work unless you click onto another item and i dont want to have to do this.

On the AfterUpdated property i cant get the code to work at all as it does not return the value of the calander.

Any surgestion. Please help.
 
Have you tried using the OnChange event of the Calendar control? I use it and it seems to work fine for me.

Example:

Private Sub ctlMyCalendar_OnChange()
Dim dtMyDate as Date

dtMyDate = ctlMyCalendar.Value

End Sub

BL
hth
 

Users who are viewing this thread

Back
Top Bottom