Solved: Sizing of forms

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Rockn

Thread Starter
Joined
Jul 29, 2001
Messages
21,334
I have run into what seems to be a common issue with forms and resizing of other forms that are already open. If I open a main form full screen and open another smaller form, the small form I want to stay small also goes full screen. If I hit the restore button on the small for the main form also resizes with it and cuts off half of the window and I have to resize it again. Annoying to say the least!! I am tire of trying to accomodate screen sizes so I am going full screen on the majority of the forms with the exception of a few forms that do not need to be that large.

LEmme know what you think.
 

Anne Troy

Anne
Joined
Feb 14, 1999
Messages
11,746
Rockn: Which application? Access? I think you can set form screen sizes independently.
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Morning Anne and Rockn, Anne is correct, there are 2 methods that should help you, the first is
Docmd.Restore
which should put your Form back to it's previous "Window" size.
The other is
Docmd.MoveSize
which both positions and sizes the Form and window to your specification.
They should go in the Form's On Load event procedure.
I haven't actually tried them as I like all my Forms Maximised. :)
Other properties that you might want to look at are "Modal", (always on top and diasables other forms until closed) and "Pop-Up".
 

Rockn

Thread Starter
Joined
Jul 29, 2001
Messages
21,334
I think I may have figured this one out. The initial form is set to onLoad DoCmd.Maximize and the child forms properties are set to popup = yes. Now the child forms open at their original design size and also obey MinMax buttons disabled.
I think Modal is a function where no other forms can be closed while the form in the foreground is open.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top