Got/Lost Focus If/Then Statments

A

alfiajamel

Greetings...

Is it possible to utilize the If/Then statements with the Got/Lost Focus
commands?

Thanks,
Alfia
 
A

alfiajamel

I have a calendar object on my form. Now the calendar always shows. I only
want the calendar to pop up if some selects that ubound object.
 
M

Marshall Barton

Try something like this in the bound control's Enter event:

Me.calendarcontrol.Visible = True

And in the other controls' Exit event:

Me.calendarcontrol.Visible = False
 
Top