Lose focus on a control to hide it

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a hidden text box on a form. To get information from it, I have to
unhide it (i.e. make visible); set focus to it; get the data into a variable;
Okay, all is well so far;

BUT, to hide it again it can't have the focus. I know to set focus you use:

Me.MyControl.SetFocus

Is there a way I can "DropFocus" or another method without setting focus to
anything in particular? How is this done cleanly? Ideas?

Thanks for your input.
 
Back
Top