Set focus to nowhere

G

Guest

Is it possible to move the focus on a form to nowhere? ie so the cursor isn't
in a textbox or on a button etc
Thanks!
 
B

Brendan Reynolds

Not to nowhere, no. But you can put a command button on the form, and set
the Transparent property of the command button to 'Yes' (or True if setting
the property in code). Set the focus to that command button, and it will
appear that nothing has focus.
 

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

odd focus behaviour 7
highlight the cursor position 4
Focus after DblClick 4
Moving the focus to nowhere. 5
Focus Issue 11
Set focus 4
Keep Cursor in Subform 4
Set Form Focus 1

Top