G goyalpr New member Local time Today, 22:02 Joined Jul 9, 2003 Messages 8 Jul 17, 2003 #1 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
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
boblarson Smeghead Local time Today, 14:02 Joined Jan 12, 2001 Messages 32,059 Jul 17, 2003 #2 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.
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.
G goyalpr New member Local time Today, 22:02 Joined Jul 9, 2003 Messages 8 Jul 17, 2003 #3 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.
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.
Mile-O Back once again... Local time Today, 22:02 Joined Dec 10, 2002 Messages 11,316 Jul 17, 2003 #5 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.
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.
boblarson Smeghead Local time Today, 14:02 Joined Jan 12, 2001 Messages 32,059 Jul 17, 2003 #6 Or, if the date is to be displayed afterwards, but just not the calendar, you could use the date time picker.
Or, if the date is to be displayed afterwards, but just not the calendar, you could use the date time picker.
G goyalpr New member Local time Today, 22:02 Joined Jul 9, 2003 Messages 8 Jul 18, 2003 #7 Thanks a lot, Bob and everyone else! I didn't know about the date/time picker and it does exactly what I wanted.
Thanks a lot, Bob and everyone else! I didn't know about the date/time picker and it does exactly what I wanted.