form open

  • Thread starter Thread starter smk23
  • Start date Start date
S

smk23

Is there a way to open a form with no control in focus? I have a form that is
information only (for reading) and would prefer the first control not be
highlighted.

Thanks,
Sam
 
smk23 said:
Is there a way to open a form with no control in focus? I have a form
that is information only (for reading) and would prefer the first
control not be highlighted.

Thanks,
Sam

Set all controls to Enabled = No and Locked = Yes.

Or create a small dummy control and make it first in the TabOrder.
 
Sam

I'm going to guess that your "read-only" form would have some way of
closing, like, say, a <Close> or <Exit> command button. How 'bout if you
set the focus there?

If you truly have no controls that could/should get the focus, you might
look into turning the tab stop property off for all controls (untested).

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP


Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
 
Back
Top