Setting Focus On A Form

  • Thread starter Thread starter Arturo
  • Start date Start date
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.
 
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.
 
Back
Top