Setting Focus On A Form

A

Arturo

I am using Access 2003. I am also using the Shrinker/Stretcher. On some of
the forms, I am trying to get the focus to go to the first control in the Tab
Order. The OnOpen Event is:

SS_OnOpen Me
btnControl1.SetFocus
Docmd.Maximize

The OnReSize Event is:

SS_OnResize Me

The problem is this:

When the form opens, the focus is not on anything. It's as though it
freezes. Does anybody have any suggestions?

Thank you.
 
A

Arturo

As an added note, after the form is open, clicking anywhere on the form will
set the focus to the desired control. It's as though the form is frozen until
I click on it.

Thank you.
 

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

Top