By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,671 Members | 1,280 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,671 IT Pros & Developers. It's quick & easy.

center a form on display

P: n/a
Hi
I'm trying to figure out how to center forms on a page
I have a form built with some tabbed pages, and I'm playing with the
form properties, but it always displays top and left and not centered
Thanks
Jerry
Jan 12 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Have you set AutoCenter to Yes? Does it do this only as you go from Design
view to Form view or does it also do this when you open the form in form
view to start with? Some things such as AutoResize and AutoCenter don't work
when you go from Design view to Form view.

--
Wayne Morgan
MS Access MVP
<je*********@pioneer.com> wrote in message
news:0u********************************@4ax.com...
Hi
I'm trying to figure out how to center forms on a page
I have a form built with some tabbed pages, and I'm playing with the
form properties, but it always displays top and left and not centered
Thanks
Jerry

Jan 12 '06 #2

P: n/a
Wayne

Autocenter is set to yes
I've gone out of the database and gone back in, and it still doesn't
center

It take up about 1/3 of the upperleft hand screen

I think its the min max button I left in. I think it wasn't centering
because it was opening maximized. Make sense?

I took those out and now it centers. Is this the correct way to
accomplish this?

Thanks
Jerry
On Thu, 12 Jan 2006 15:55:32 GMT, "Wayne Morgan"
<co***************************@hotmail.com> wrote:
Have you set AutoCenter to Yes? Does it do this only as you go from Design
view to Form view or does it also do this when you open the form in form
view to start with? Some things such as AutoResize and AutoCenter don't work
when you go from Design view to Form view.


Jan 12 '06 #3

P: n/a
If it is opening maximized, it will fill the full screen within the Access
window. If the form isn't large enough to fill all of that area, you're
correct, it will fit itself into the top, left of its maximized window and
leave the rest of the area blank. The problem is that the form is the entire
maximized window but you only have enough controls and form sections to fill
the portion you mention. It would be possible to get the form to expand its
"background" to fill the full window, but that would still leave a lot of
blank area, it would just be form background now instead of the empty area
you have now. Another option is the scale all controls on the form to get
larger as you maximize the form so that they continue to fill the same
percentage of the form area. This can get complicated.

If you want to run the form maximized in the Access window, but don't need
all the space that that offers, you may want to reduce the size of the
Access window itself. The form will only maximize within the available space
in the Access window. As you move to larger and higher resolution monitors,
this will become more of a problem. I run a high resolution monitor and
absolutely hate when some programmer thinks I need to run everything
maximized. I don't and won't, so don't maximize it for me. All that does is
make me click the restore button to undo what you did. I run the high
resolution so that I can have multiple windows open without them
overlapping, don't steal the screen from me.

--
Wayne Morgan
MS Access MVP
<je*********@pioneer.com> wrote in message
news:n0********************************@4ax.com...
Wayne

Autocenter is set to yes
I've gone out of the database and gone back in, and it still doesn't
center

It take up about 1/3 of the upperleft hand screen

I think its the min max button I left in. I think it wasn't centering
because it was opening maximized. Make sense?

I took those out and now it centers. Is this the correct way to
accomplish this?

Thanks
Jerry
On Thu, 12 Jan 2006 15:55:32 GMT, "Wayne Morgan"
<co***************************@hotmail.com> wrote:
Have you set AutoCenter to Yes? Does it do this only as you go from Design
view to Form view or does it also do this when you open the form in form
view to start with? Some things such as AutoResize and AutoCenter don't
work
when you go from Design view to Form view.

Jan 12 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.