Solved

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

Posted on 2013-12-18
1
989 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 36

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access, Class Objects, Modules, Class Modules 6 35
MS Access Query Question 2 34
Sharepoint list to Access database 9 44
SQL Server Compression Decision 5 41
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

761 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