Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

Desktop dimensions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe Holzhauer - 31 Jan 2005 15:51 GMT
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?
Peter's Software - 31 Jan 2005 23:34 GMT
> 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%3D0782119417/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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.