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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make default form view for entire .MDB = Maximize?

Status
Not open for further replies.

GordonLeeds

IS-IT--Management
Feb 5, 2002
21
US
Thanks in advance, if you know how to accomplish this.

I recently overhauled my Access 2000 project's menu system and forms. I've made all menus/forms sized for a 1027x768 screen, and I want them to always open maximized. By default Access does NOT open maximized, and the way I'm faking it is to have DoCmd.Maximize in every form's OnActivate event. This works, but transitions from one form to the next are annoying as the closing form un-maximizes itself while closing and the new form initially opens un-maximized and then expands. It all happens in the blink of an eye, but quite perceptibly.

I've hunted in Help, in the db's Properties, in Tools:Options and in the Access hidden/system files - nothing.

Hope to hear from someone!

Regards,
Gordon
 
Well, I finally worked out a better technique, recalling that you could temporarily stop the screen from refreshing:

Application.Echo False
If Not IsLoaded("Products") Then
DoCmd.OpenForm "Products"
End If
Forms!Products.SetFocus
DoCmd.Maximize
Application.Echo True

But I'd still rather be able to simply change the db's overall default to Maximize...

Gordon
 
Gordon,

Firstly I know this post i from a while ago!

I also have the same problem/annoyance, and I was hoping for an answer also.

The way I have gone is to close each form then reopen another. eg - one of my entry forms goes back to MAIN - so DoCmd.Close the entry form, and within the entry forms "OnClose" property include a DoCmd.OpenForm for "MAIN"

The screen 'blinks' or 'flickers', rather than maximising.

"If it aint broke - dont fix it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top