BabyPowder2u
Programmer
I am using pop-up calendars on multiple cbofields.
My problem is, Once the calendar opens, if the user clicks on another field on the form, the calendar remains open. I would like it to close.
I tried placing " ocxCalendar.Visible = False"
in each of :
ocxCalendar_LostFocus()
ocxCalendar_Exit(Cancel As Integer)
but in both locations:
I get the error "You can't hide a control that has the focus."
Any help is appreciated.
T
My problem is, Once the calendar opens, if the user clicks on another field on the form, the calendar remains open. I would like it to close.
I tried placing " ocxCalendar.Visible = False"
in each of :
ocxCalendar_LostFocus()
ocxCalendar_Exit(Cancel As Integer)
but in both locations:
I get the error "You can't hide a control that has the focus."
Any help is appreciated.
T