Solved

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

Posted on 2013-12-18
1
962 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
1 Comment
 
LVL 35

Accepted Solution

by:
PatHartman earned 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

776 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