Form display

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Most of my custom forms open full screen although Auto Resize property is set
to No. What should I do to have a consistent form sizing each time my form
opens.

Thanks!
 
Sokan33 said:
Most of my custom forms open full screen although Auto Resize
property is set to No. What should I do to have a consistent form
sizing each time my form opens.

Thanks!

They are most likely maximized which has noithing to do with their "size".

Access is an MDI application which means if you maximize one inner window
you maximize all of them (and if you restore one you restore all). Word and
Excel are similar in this regard. The only excpetion is if you open a
dialog or popup form.
 
I use code similar to the following in the Form_Activate event procedure ...

Private Sub Form_Activate()

Application.Echo False
DoCmd.Restore
DoCmd.RunCommand acCmdSizeToFitForm
Application.Echo True

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top