473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

center a form on display

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
3 24327
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: BobbyChat | last post by:
Is there a way to display more than one record at a time on a popup form? I have a main form that has a button that triggers a popup form that is a continuous form. I am trying to get it to display...
1
by: Robert | last post by:
Need some help with this please. Is there a way to display more than one record at a time on a popup form? I have a main form that has a button that triggers a popup form that is a continuous...
1
by: Johnfcf | last post by:
I have a database consisting of 3 tables, the main table with main contact info, a second table with additional address info and a third table consisting of additional contact information, or more...
2
by: cashdeskmac | last post by:
I have an application with a main form (size 300, 200) and I added another form to the project. I would like to set the second form to center on the main form. I have tried setting the parent of...
6
by: dale zhang | last post by:
Hi, I build a web form with a 4-cell table on the top (flawlayout), followed by some labels and textboxes (gridlayout). The web form is displayed well in dell m60 laptop with all resolution...
3
by: gv | last post by:
Hello all, I'm calling a form class that just shows a status display of where the application is at . I pass in text to display. I would like to keep that instance of the class form centered...
1
by: ewart strain | last post by:
Hello all, I have a form thats tied to my access database and all seems to work well except for one small thing. Info on the code: whenever a consultant contract ends they get moved to an...
1
by: Gail248 | last post by:
In vb.net when I open a form, is there a property or something that will have it open smack center of the screen?
1
by: William Gill | last post by:
I hope I can state this clearly enough. I am redoing some of my html(php) forms. I'm trying to break things into three functions on a self processing php page: 1) show the form (and populate...
1
by: jeddiki | last post by:
Hello, I have made a nice opt-in form and tested it in Moz FF and it looks fine. But in IE the elements don't line up properly. I think I am nearly there but can not get these elements...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.