Calendar

goyalpr

New member
Local time
Today, 22:02
Joined
Jul 9, 2003
Messages
8
Hi,

Would it be possible to hide a calendar as soon as someone clicks on it. System does not allow to use hide property in the click event.

I just want the clendar to disappear as soon as it is clicked.

Thanks,
Prashant
 
Instead of using the hide on the click event, why not write a sub in a module that does the same thing and call the sub from the click event.
 
Hey, I tried doing it as well. But the deal is whenever the click event of a control is fired, that control remains in focus till the event lasts.

And during this event, system does not allow to hide the control.
 
Do a search on calendar as I've posted a few examples, as have others, where the calendar is on another form which can be called and then closed once the user has made their selection.
 
Or, if the date is to be displayed afterwards, but just not the calendar, you could use the date time picker.
 
Thanks a lot, Bob and everyone else!

I didn't know about the date/time picker and it does exactly what I wanted.

:cool:
 

Users who are viewing this thread

Back
Top Bottom