Resize Form to Original Size (1 Viewer)

kenrav

New member
Local time
Yesterday, 22:11
Joined
Jun 20, 2020
Messages
29
I have an Access form which is 8" wide and 6" tall. I minimize it. So far, so good. Unfortunately, when I later maximize it, the form fills the entire screen (which I don't want.) How can I get it to resize to its original 8" x 6" size?
 

Ranman256

Well-known member
Local time
Today, 01:11
Joined
Apr 9, 2015
Messages
4,337
dont use Maximize. remove any maximize commands.
just open the form :
docmd.OpenForm "fMyform",acNormal ,,,,acWindowNormal

and it should open in its normal size. (as long as youre not using TABBED forms)
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 01:11
Joined
May 21, 2018
Messages
8,685
Try changing the autoresize and autocenter properties
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 01:11
Joined
May 21, 2018
Messages
8,685
If doing this in code look at the docmd.restore.
 

Mike Krailo

Well-known member
Local time
Today, 01:11
Joined
Mar 28, 2020
Messages
1,085
It has been assumed this is all being done in code but could it be this form is manually minimized and then clicking on the wrong icon to restore the form to original size? Should be clicking on the restore icon as shown in this image.

1689279872911.png
 
Last edited:

kenrav

New member
Local time
Yesterday, 22:11
Joined
Jun 20, 2020
Messages
29
Thanks everyone for your help. My app can sometimes require a user to deal with multiple forms at the same time (this is especially true during lunch time where there may be only one user in the office.) Unfortunately, his/her task bar ends up looking like the attached screenshot. Since he/she may forget which closed form is which, I'm thinking about building a "Minimized Form Manager". Using cmd.restore sounds promising.

1689285018574.png
 

isladogs

MVP / VIP
Local time
Today, 06:11
Joined
Jan 14, 2017
Messages
18,295
That's why the taskbar settings option below is worth using:
1689286695567.png
 

Users who are viewing this thread

Top Bottom