Stop jumping forms

R

Robert

I was wondering if there is any way you can stop Access forms which are
maximized in code from jumping a bit when you open them.

Robert
 
A

Arvin Meyer [MVP]

Robert said:
I was wondering if there is any way you can stop Access forms which are
maximized in code from jumping a bit when you open them.

Mine doesn't jump with a 128 MB video card and maximizing in the Open event.
I think that the card speed doesn't matter, but it since it could, I
mentioned it.
 
J

J

Try replacing the "DoCmd.Maximize" code with:

On Error Resume Next 'Needed in case there is a fail, to ensure that
screen updating turns back on
DoCmd.Echo False, "" 'Turns off screen updating
DoCmd.Maximize 'Maximizes the form
DoCmd.Echo True, "" 'Turns screen updating back on

Hope that helps,
~J
 
R

Ron2006

Another thing to look at, is the presence (or absence) of menu bars.
Before you save any/all of the forms, make sure to turn off all of the
menubars while you are in edit mode.


Ron
 
R

Robert

Thank you. I'll try it.
J said:
Try replacing the "DoCmd.Maximize" code with:

On Error Resume Next 'Needed in case there is a fail, to ensure that
screen updating turns back on
DoCmd.Echo False, "" 'Turns off screen updating
DoCmd.Maximize 'Maximizes the form
DoCmd.Echo True, "" 'Turns screen updating back on

Hope that helps,
~J
 
R

Ron2006

Design view.

Menu bars that I have up during design tend to want to come back on
when the form is opened so debending on what combination I have open
when I save the design, some may come on again when the form is opened
in production.

So I have basically tried to always remember to shut down all menu
bars before I save the form.

Ron
 
Top