Lose focus on a control to hide it

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top