N
NickG1
I have a date field that is populated using an activex control for a calendar
pop up.
I need to ensure that the calendar becomes invisible when the user fails to
select a date and clicks on any other control. I’ve used the LostFocus event
to set the focus back to the date control and then make the calendar pop-up
invisible. But how would I make the calendar invisible if the user just
clicks on a blank part of the form or by pressing ‘ESC’. I am not sure if
these would be represented by some event.
Thanks in advance. (I am somewhat of a novice but I am quite intrigued.)
pop up.
I need to ensure that the calendar becomes invisible when the user fails to
select a date and clicks on any other control. I’ve used the LostFocus event
to set the focus back to the date control and then make the calendar pop-up
invisible. But how would I make the calendar invisible if the user just
clicks on a blank part of the form or by pressing ‘ESC’. I am not sure if
these would be represented by some event.
Thanks in advance. (I am somewhat of a novice but I am quite intrigued.)