Form won't stay put when opened

casey

Registered User.
Local time
Today, 16:16
Joined
Dec 5, 2000
Messages
448
I have a Main Form that utilizes tabs to control several other forms by opening, closing and making them visible/invisible. One of the forms needs to be closed when its tab on the Main form is unselected. The problem is that once the form is closed, when it opens up again it opens right infront of my Main form's tab control so I need to move it down an inch to get to the tab control.

I've positioned this form where I want it and saved it numerous times. But once I select the tab, it opens up right ontop of the Main form's tab control again. I have the AutoResize set to No and the Auto Center also set to No.

Any ideas how I can get this form to stay put?

Any help is most appreciated. Thanks.
 
You can use the MoveSize method to set the size and postion the form in one line of code. Use the forms OnOpen event. Search the help files for more info.

Code:
DoCmd.MoveSize 1440, 2400, 1000, 2000
 
Thanks, ghudson.

That did the trick! I appreciate your help.
 

Users who are viewing this thread

Back
Top Bottom