Form Display

G

Guest

Greetings all.
I use a form as a switchboard directing users to various functions of the
datbase. The form opens when the database is loaded BUT it does not open
"maximised" forcing the user to use Windows techniquies to max the form
window.
Does anyone know how I can get the form to open in a maximised window?
Very grateful if anyone can.
 
M

missinglinq via AccessMonster.com

This will do the job, but please note:

All forms, unless properties are set to Modal = Yes and Popup = Yes, will
open up maximized. This is a problem to some developers/apps but not to
others.


Private Sub Form_Load()
DoCmd.Maximize
End Sub
 
G

Guest

A modal form will not work well as the main form of an application in most
cases. I would recommend the Activate event rather than the Load. That way,
when you return to the form, it will maximize again. Access has a bad habit
of deciding for you what size forms should be.
 
M

missinglinq via AccessMonster.com

Didn't mean for the main form to be modal, merely meant that any other
ensuing forms would be maximized UNLESS THEY were set to modal! And as I
pointed out, whether this would be a problem would be up to the
developer/application. And you're right, of course, Access does have a bad
habit
of deciding for you what size forms should be!
A modal form will not work well as the main form of an application in most
cases. I would recommend the Activate event rather than the Load. That way,
when you return to the form, it will maximize again. Access has a bad habit
of deciding for you what size forms should be.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
G

Guest

The easiest way to control this is to use the Activate event of every form in
your application to either Maximize or Restore the form, depending on which
you want.
 
G

Guest

Thanks for your reply, Not to clear on what you are talking about but it does
allow me to explore another realm of Access
 
G

Guest

Thanks for your reply. The discussion that followed allowed me to explore a
realm of access I had not seen before and your final answer would seem the
easiest. Thanks
 

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

Top