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

Tip: Looking for answers? Try searching our database.

Auto Center with 2 forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Franklin - 25 Oct 2007 19:40 GMT
Hi,

I have two modal popup forms, both with Auto Resize and Auto Center set to
yes.

The second form is an exact copy of the first, just with some buttons
changed etc and is opened by a button on the first form. The idea is when it
is open, it covers the first form completely.

For some reason however, when the 2nd form is opened from the first, it
opens in a slightly different position to the first form, which looks
untidy. I have got round it for the moment using the Visible property of the
first form, but it is not ideal.

Can anyone tell me why the 2nd form is not opening in the same place as the
1st? The application window is not being resized in the meantime. I am using
Access2003.

Not for the first time, many thanks,
Jim
Steve Schapel - 25 Oct 2007 20:25 GMT
Jim,

Sometimes the centre, from the "auto Center" point of view, is affected
by the display or otherwise of menu bars and toolbars.  And the
maipulation of the command bars seems to occur after the form is
centred.  So, no quick solution, but this may at least help to explain
what's happening, particularly if the offset is vertical.

Signature

Steve Schapel, Microsoft Access MVP

> Hi,
>
[quoted text clipped - 16 lines]
> Not for the first time, many thanks,
> Jim
 
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.