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

Form Sizing Issues

Status
Not open for further replies.

UberZoot

Technical User
May 31, 2003
29
0
0
US
Ladies and Gents,
I have a Main Menu form that I use a Maximize macro "On Open" that I have keyed in my Start-Upo properties. When I select one of the command buttons from this form to open another form, the menu sizes down to a window mode. I want it to stay max at all times.

Also-
I have a form called from a command button on the menu form that I want to keep small. However, when I open the dbase for the first tim and select that command, the form appears in a max mode.

Can anyone help with this?

Thanks,
UZ
 
I had a related problem. I wanted my main form to be maximized and the subforms smaller. I posted to this group and someone suggested using the acDialog setting with the code to open the second form. Worked like a charm.

Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Form1"
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acDialog

The other question - make it maximize - use DoCmd.Maximize in the form open event.

HTH
JSouth

---------------------------------------
The customer may not always be right, but the customer is always the customer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top