Link to home
Start Free TrialLog in
Avatar of chris51179
chris51179

asked on

Modal form positioning

I have a project where the user calls up an options form, i would like this form to appear in a position reletive to the main form regardless of where it is on the screen.
Little help?
Avatar of Stefaan
Stefaan

Hi,

I think setting the Position property of the for to poMainFormCenter will make your Modal form appear centered in the MainForm wherever the main form is on the screen.

Regards,


Stefaan
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chris51179

ASKER

Thanks guys, setting the top and left properties acheived the effect, seems that one was just too easy for you fellas. but if i dont ask i'll never know!
Fantastic response and lightning fast!!!