Form Design

  • Thread starter Thread starter stealth
  • Start date Start date
S

stealth

I am developing a Main menu and 2 linking menus using forms. I know ho
to hide the 'background' but am having problems designing the form s
that it is maximised, centered on the screen and the form a fixe
size.

I think that the form properties should be:
Popup = True, and
Auto Center = No.

How do I achieve the Max window position? What does Modal mean?

Does anyone have the answers?

Thank you very much
 
Stealth,

Well, I can't see how you can meet all three of your requirements at the
same time. If a form is maximized, it can't be centred or fixed in
size. So I'll just forget the maximising for now. If you want the form
centred, then you should set the Auto Center property to Yes. If you
want it a fixed size, you should design it to the size you want, and
then set the Auto Resize property to Yes. The Popup property is not
directly relevant to your question, and nor is Modal. Modal means that
another object cannot be activated until you close the modal form. For
more info on this, put your cursor in the Modal property box of the form
design, and press F1.
 
Thanks Steve

but I would like to know more about maximising. I read a response t
another user and he posted a chunk of code which I copied but I someho
it didn't work properly. I'm pretty sure there is an easy way aroun
to maximising a form.

cheers

Stealt
 
Stealth,

You can use a Maximize action in a macro, or DoCmd.Maximize method in a
VBA procedure, to maximise a form. Some peropl put this type of macro
or code on the Open or Activate event of the form itself. But of
course, if a form is maximised, the idea of centering it isn't really
applicable.
 
Back
Top