Popup and Modal Properties set to Yes

  • Thread starter robert d via AccessMonster.com
  • Start date
R

robert d via AccessMonster.com

Many of my forms are maximized when they are opened. However, there are some
smaller forms that open for parameter input, etc. I've noticed that unless
I set the popup property of the form to Yes, these small forms will open
maximized, which in my opinion looks unprofessional. In most cases, the form
also needs to be modal so that the user is forced to do something with the
form.

Is setting both of these properties to Yes the correct way to handle these
smaller forms. I guess I was surprised that Access doesn't seem to retain
the form size (as listed in the properties window) of a form that is not
opened with DoCmd.Maximize, if another form is already opened in maximum
window size. It seems like the only way to keep the small size, in this
case, is to make the form a popup form.

Thanks.
 
M

Mr B

Actually it is not unusual at all to set small forms to Modal and/or Popup.
These properties are used to require user input before the calling form can
again be used.
 
M

Martureo Bob

In addition...

To set the size of one of these "small forms" you need to play a bit of a
trick, performing the following bit of nonsense:

Turn off "modal" (just for a little while)
Set the "border style" to "sizeable" (just for a little while)
Open the form (for real --- not in design mode)
Drag the borders until the form is size and shape you want it
Don't close the form yet!
On the menu bar, click "file" then "save"
Now close the form
Open the form in design mode
Set the "border style" to "dialog" or anything other than "sizeable"
Set "modal" back on again

While you did all of the above, at least one other parameter will come into
play: "autocenter". If this was set to "yes" while you did the above, the
dialog will autocenter itself on the screen when opened. If that was set to
"no" while you did the above, the dialog will be placed on the screen in the
same relative position where it was when you did the "file" "save"

I have a bunch of these little panels and BOY IS THIS A PAIN!

But guess what? This garbage is actually the way it's documented (it took
me a while, but I found this somewhere in "Help").

Bob.
 

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