Auto Center with 2 forms

J

Jim Franklin

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
 
S

Steve Schapel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top