|
|||
|
I've completed my app but I don't like where some of the forms are appearing when they open. Can any one explain me how to tell Access where I want them placed in the window.
|
|
|||
|
If you set the Auto Center property of a form to Yes, it will be centered (more or less) within the Access application window when it opens.
If you set the Auto Center property to No, the form will be opened where it was (more or less) when you last saved it. If you want to open the form at a specific position, you can put code in the OIn Open event of the form: Private Sub Form_Open(Cancel As Integer) Me.Move Left:=1440, Top:=2880 End Sub In this example, the form is positioned (more or less) 1 inch from the left edge and 2 inches from the top of the content area of the Access window. The coordinates are given in twips, where 1440 twips = 1 inch. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|