Maximised Forms

D

Dave

How can i save a form maximised so it just opens maximised without me having
to do it via code

If i use the Activate Event or the Gotfocus event and use the DoCmd.Maximise
command
the screen flickers as it resises itself. And this looks bad.
 
R

Rick Brandt

Dave said:
How can i save a form maximised so it just opens maximised without me having
to do it via code

If i use the Activate Event or the Gotfocus event and use the DoCmd.Maximise
command
the screen flickers as it resises itself. And this looks bad.

AFAIK you can't.

You could experiment with ECHO to turn off screen updating and then turn it
back on after the maximize command to see if the result is any better. You
have to be careful with that though. If you ever have an error after you
turn ECHO off that causes the corresponding ECHO on to not fire you'll be
stuck in an app that won't update the screen. You need to have good error
handling and make sure your Error Handler restores the setting.
 
D

Dave

Rick,

Great Idea

It works really well.
its just adding the two extra lines of code to all my forms now
2 forms down 94 to go...
Thanks

Dave
 
D

Dave

Thanks,




Rick Brandt said:
AFAIK you can't.

You could experiment with ECHO to turn off screen updating and then turn it
back on after the maximize command to see if the result is any better. You
have to be careful with that though. If you ever have an error after you
turn ECHO off that causes the corresponding ECHO on to not fire you'll be
stuck in an app that won't update the screen. You need to have good error
handling and make sure your Error Handler restores the setting.
 
Top