Maximize Forms - How?

  • Thread starter Thread starter SteveL
  • Start date Start date
S

SteveL

Is there a way to make a form fill the user's screen
regardless of their screen resolution?

Probably a simple solution but I can't find it.

--Steve
 
Jason,

Thanks for the reply. When I do what you suggested and
run the form, it kind of floats to the upper left hand
corner of the screen even though I have auto center set
to yes. Thoughts?
 
The one thing that comes to mind is the Pop Up property of the form is set
to Yes. To check this open the form in design view>click on the Other
tab>Make sure the Pop Up option is set to No.

The DoCmd.Maximize is just like clicking on the Maximize button and the Pop
Up property is generally what will cause it not to maximize. Hope that
helps

Jason
 
Stevel said:
Jason,

Thanks for the reply. When I do what you suggested and
run the form, it kind of floats to the upper left hand
corner of the screen even though I have auto center set
to yes. Thoughts?

Maximize makes the form's window full-screen, not the form itself. If the
form doesn't take up all of the maximized window it will appear in the
upper left. The Auto-Center pertains to the window, not the form object
within the window.
 
Do you mean resize all the form elements to fit? There are third-party
form scaling solutions available that might help:

A shareware version of a form rescaling module I wrote called
ShrinkerStretcher is available at this web site:
http://www.peterssoftware.com/ss.htm

FMS has a sizer module at www.fmsinc.com.

The Access Developer's Handbook has form resizing code included:
http://www.amazon.com/exec/obidos/ISBN=0782119417/107-8064361-7403703

Hope this helps,

Peter De Baets
Peter's Software - MS Access Tools for Developers
http://www.peterssoftware.com
 
Back
Top