pop up forms

Purdue22

Registered User.
Local time
Today, 09:15
Joined
May 11, 2001
Messages
25
I have a button on my form that opens a smaller form. Can you control where the form pops up on the screen?
 
Hey, I'm getting a Purdue Degree. Sorry I can't help, but how did you create a button that generates a pop-up form?
 
Purdue22 -

You can use the AutoCenter property to specify whether a form will be centered automatically in the application window when the form is opened.

The AutoCenter property uses the following settings:

Yes True (–1) The form will be centered automatically on opening.

No False (0) (Default) The form's upper-left corner will be in the same location as when the form was last saved.

npierson -

Search help for Popup and then look for 'Create a popup form...'
 
I have many smaller pop-up forms placed within my forms at an exact position. To do this set the following properties:
Auto Center - No
Auto Resize - No
PopUp - Yes
Border Style - Sizeable

Now open up your form and activate your pop-up. Set your pop-up exactly where you want it on the screen and measure against your terminal the top left margin of where you want your pop-up to be.

Next go back into your pop-up in design view and make a change to the form. I usually go into a label and make a spelling mistake. Once done, view it in form view and then re-position the pop-up to exactly where you want it positioned using the example of measuring that I gave above. Exit out, and it will prompt if you want the changes saved. Say yes. Then check the forms position against your main form. If the position is okay, go back into the pop-up in design view and correct the error that you made to force a position change. Do not reposition the form unless you need to. Save your changes.
Good luck.



[This message has been edited by Carol (edited 05-21-2001).]
 

Users who are viewing this thread

Back
Top Bottom