Forms and resizing

bdubuc

bdubuc
Local time
Today, 22:12
Joined
Dec 31, 2001
Messages
18
I tried many of the solutions I've found in this forum, but nothing seems to work.

I want all my forms to be maximized. I added a docmd.maximize in the switchboard Access created, but when I'm closing a form that I opened with the switchboard, everything becomes windowed again.

My forms all have the same setting:

Autoresize No
autoCenter Yes
popup No
BorderStyle Thin

I'd like to avoid writing code in every freaking form. There must be a "natural" of doing this???

Thanks to you all,
Ben
;0)
 
I have exactly the same problem that I have solved by using the DoCmd.maximise on every form. This causes nasty blinking 'though.

Is there a better way to do this.
 
I haven't found one yet.

What I'm planning to do is to hide the window before calling the maximize. this way, I think the user won't see the resizing. I just hope that it won't have the same blinking effect.
 
I got round this by creating a form called startup (which just includes the name of the database), making this run on startup using tools/startup/display form "startup" , including a timer event in the startup form ontimer = startup (macro below)Timer Interval 500. Create the startup macro three lines 1. Open Form (the form you want to use)2.Maximise 3.Close (startup form). Leave all other properties alone and you should find all your forms will open maximised thereafter.
 

Users who are viewing this thread

Back
Top Bottom