Desktop dimensions

  • Thread starter Thread starter Joe Holzhauer
  • Start date Start date
J

Joe Holzhauer

Is there a way to "dock" controls to a certain edge of the form so that when
the form is resized, they automatically move or resize as needed (you can do
this in visual studio)? I don't think there is, but I thought I'd ask.

If not, how could I check the dimensions of the user's desktop so that I can
change the relative size & position of the controls to make the best use of
space?
 
Joe said:
Is there a way to "dock" controls to a certain edge of the form so that when
the form is resized, they automatically move or resize as needed (you can do
this in visual studio)? I don't think there is, but I thought I'd ask.

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

There's a form resizer at http://www.jamiessoftware.tk/ .

The Access Developer's Handbook has form resizing code included:
http://www.amazon.com/exec/obidos/ISBN=0782119417/107-8064361-7403703
If not, how could I check the dimensions of the user's desktop so that I can
change the relative size & position of the controls to make the best use of
space?

You can find the user's screen resolution using code at this link:

http://www.peterssoftware.com/c_scrres.htm

Hope this helps,

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