[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How do i get my forms always full screen in the center of the screen.

Posted on 2013-12-18
1
Medium Priority
?
1,092 Views
Last Modified: 2013-12-18
Hoi,

I have a simple database with a few forms which have all different sizes.
How do i get my forms always full screen and in the center of the screen.
I've tried, and it only worked with complicated VBA which I found on the internet.
Is there a simple way to do that.

tx
0
Comment
Question by:sonmic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 39

Accepted Solution

by:
PatHartman earned 2000 total points
ID: 39727445
If you are using A2007 or newer, switch to the tab interface.  Otherwise all you need is a single line of code in each form's Open event.

DoCmd.Maximize

This makes the forms full screen but doesn't center or resize them.  The code you were looking at actually resizes the forms and the controls and centers them so they look nice.

If you have the code working, why switch?

If you really want the forms adjusted so they look natural at full size, get something like Peter's shrinker stretcher (or something like that) from Peter's Software.  The price is low and it requires changing the command to open a form from the standard DoCmd.OpenForm to their custom command.  I don't recall anything else but it has been a few years since I've used it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question