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 / March 2007

Tip: Looking for answers? Try searching our database.

Variable size form for changes between laptop screens

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Beth - 28 Mar 2007 15:39 GMT
Hi,
I have developed alot of forms in my databse to perfectly fit the screen
when I open them as maximized.  Now I have 2 users that are going to move to
widescreen laptops.  That pushes the form to the left and it leaves the
screen looking really funny.
Is there a way to detect the width of the users screen and then use code to
resize the form to fill the screen appropriately?
I can see that once I detect the width, I would have to use a move command
on every field on the screen. Is there a quick way to do that instead of
having to specify every field individually?
Thanks,
Beth
Douglas J. Steele - 28 Mar 2007 16:12 GMT
You can put in code to detect the user's resolution and resize your form
accordingly, but it's not trivial code. They show you how to do this in the
Developer's Handbook (from Sybex: see http://www.developershandbook.com/ for
details). You can download an MDE veresion of the code from
http://www.developershandbook.com/downloads.htm and use it in your
application.

Another option is to purchase ShrinkerStretcher from Peter's Software
http://www.peterssoftware.com/ss.htm

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Hi,
> I have developed alot of forms in my databse to perfectly fit the screen
[quoted text clipped - 8 lines]
> Thanks,
> Beth
 
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.