Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to re-size form for different screen resolutions 1

Status
Not open for further replies.

billschu

Technical User
Apr 3, 2001
38
US
Hi,

I am developing an Access application on a computer that has a screen size / resolution of 1024 x 768 pixels. I have noticed that on other computers that have a lower resolution (800 x 600 pixels), the form looks really huge and many of the controls are actually cut off, and the user has to scroll over or down to get to them. I sized the form to fit my screen and my resolution, and it takes up most of the screen. Is there a way to scale it down automatically to fit computers that have a lower resolution (or scale up to fit a higher resolution). By the way, the form type is "Dialog".. if I set it to "Sizeable", it really doesn't solve my problem because if you resize it, it just cuts off the controls as you shrink it down.

Any thoughts on how to best handle this, other than require all my users to set their monitors to have the same resolution?

Thanks,
Bill
 
There are several commercial products available that will scale forms. Some are for use at design time, others will scale dynamically at runtime. Unfortunately, I can't recommend one because I've never had enough need to buy one.

You can write your own code that runs at the Resize event, but it is quite complicated, and there are several pitfalls, and practically speaking you have to write custom code for each form.


Rick Sprague
Want the best answers? See faq181-2886
To write a program from scratch, first create the universe. - Paraphrased from Albert Einstein
 
How are ya BillMe . . . . .

Best I've found yet:


Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top