Swithboard Size when it opens

G

Guest

Hi

I have created a switchboard and its works fine etc, but I want to resize it
to the size I have in design view.

Does anyone know how to stop it from maximising.

I know when you want a form to maximise you use the docmd.maximise but is
there a command to stop it from maximising and opening as it is?

Would a appreciate some help please.

Thanks in adavance
 
F

fredg

Hi

I have created a switchboard and its works fine etc, but I want to resize it
to the size I have in design view.

Does anyone know how to stop it from maximising.

I know when you want a form to maximise you use the docmd.maximise but is
there a command to stop it from maximising and opening as it is?

Would a appreciate some help please.

Thanks in adavance

An object will open maximized if there is code 'DoCmd.Maximize' in
it's Open or Load event. Thereafter, all other objects will open
maximized unless you code an event:
DoCmd.Restore
 
G

Guest

Hi

I dont have a docmd.maximise in the switchboard form, but do have it in
other forms that open from the switchboard form.

Where should the docmd.restore go? should I put this in th switchboard
form? if so, in the form load or current?

Not sure with this, have played with it but it still maximises... need a
little more help with this if possible.

Thanks again in advance
 
F

fredg

Hi

I dont have a docmd.maximise in the switchboard form, but do have it in
other forms that open from the switchboard form.

Where should the docmd.restore go? should I put this in th switchboard
form? if so, in the form load or current?

Not sure with this, have played with it but it still maximises... need a
little more help with this if possible.

Thanks again in advance

f you want a particular form to be maximized, write:
DoCmd.Maximize
in it's Open or Load event. Then if you want every thing else to be
not maximized, code that form's close event:
DoCmd.Restore

Only that form wll be maximized.
You can also code the Switchboard Load event:
DoCmd.Restore
Whenever the switchboard opens, it will not be maximized.
 
G

Guest

Thanks! works a treat... all my forms maximised on opening so added the
docmd.restore on close for them and the switchboard is ok.

Thanks again.
 

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