Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Jumping

Status
Not open for further replies.

Corina

Programmer
Jun 20, 2001
4
NZ
I have a maximised form with a button on it that opens another form. The second form is also maximised.
When I close the second form the first form 'jumps' .

The forms have no toolbars but do have a menu bar (one which I created).

It looks like when the form gets the focust it refreshed the form without a menu bar so the form is positioned at the top of the screen. Then it puts the menu bar on and pushes the form down below the menu bar. This giving a jump affect on the screen.

Is there any way around this or is this a 'feature' when having customised menu bars?



C
[butterfly]
 
What I've done in the past, Corina, is the following in the FormOpen procedure:

Private Sub Form_Open(Cancel As Integer)
DoCmd.MoveSize 0, 1750
End Sub

Of course, you would need to modify the MoveSize for your specific form... This is with, however, a form that is NOT maximized. I've never maximized a form - never had a reason to.
Roy
aka BanditWk
Las Vegas, NV
roy@cccamerica.org
RLMBandit@aol.com (private)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top