Problem with "Autocenter" vertical position.

F

Frenchie

Hello !

I have many forms defined with the following properties:

Popup : No
Modal : Yes
AutoCenter : Yes <--------
Autoresize : Yes

The first form, which is a menu, is opened from the autoexec macro
(standard mode).

Then from this menu, the following form is opened with the following
statements in the "cmd_Click" procedure of the menu buttons

Dim frm As Form
Dim str As String

str = "FormName"

DoCmd.OpenForm str, acNormal, , , acFormPropertySettings, acHidden
Set frm = Forms(str)

Me.Visible = False
frm.Visible = True

....
....


I observe that if all the forms are horizontally centered, their
vertical position varies greatly and is not centered at all in the
Access window (actually, on the screen because the access window is
maximized).

There's nothing in the code fiddling with Access menus, toolbars, etc..


Is there something missing or a way to get the forms correctly centered
in the Access window ?


Thanks..

FU2: microsoft.public.access
 

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

Top