Maximise Window On Startup

D

Dave_FFM

Hi,
Is there a way to auto-maximise the switchboard on startup? at the minute it
opens on a small window.

Many Thanks
 
S

SteveM

In your switchboard's OnOpen event procedure use:
DoCmd.Maximize

If you want to restore window size, in an appropriate event use:
DoCmd.Restore

Steve
 
D

Dave_FFM

Perfect. Thanks Very much Steve :)

SteveM said:
In your switchboard's OnOpen event procedure use:
DoCmd.Maximize

If you want to restore window size, in an appropriate event use:
DoCmd.Restore

Steve
 
K

Klatuu

I prefer the Form Activate event.
The Open fires only once, but the Activate event fires each time the form
receives the focus. This is particularly true for the switchboard which is
activated and deactivated frequently during a session.
 

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