Form controls in a maximized screen.

J

Jade5

Hello:
If I add
DoCmd.Maximize
to the open property of a form. How can I get the contents of the form
(controls)
to fill the screen and also display centered on the screen?
Thanks,
J.
 
A

ashg657

This comes down to form design more than anything. It all depends on the
screen resolution of the end user. You can set the "Auto Center" property to
Yes but an app on a screen resolution of 1024x780 will look vastly different
to one on 800x600.
You need to look at the end user's screen resolution and make your form to
the accomodating size and then the controls are displayed as placed. In other
words, if its in the centre of your screen in design view, it will be in the
centre of the users screen when ran. However, if there are different screen
resolutions, then you will see what I mean.

Hope that helps.
 
J

Jade5

Thanks Ash. I
I have the form property set to centered and I also used snap to gride so
when the form is maximized everything goes to the upper right corner of the
the screen. I think I tried removing snap to grid before and I don't think
that worked but I will try removing it again. Also, I designed the forms with
a maximum size of 6 1/4 by 3 1/4 to accomodate the lowest resolution so on a
1024 X 780 its quite small where as on a 800X600 it is a little larger. Its
the 1024 X 780 users that I want to give the maximize option to but right now
as I mentioned, everything shifts to the upper left on maximize. I noticed
that the Microsoft North wind db example does the same thing...not sure why.
Thanks,
J
 

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