Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position a Modal Form
Message
From
29/11/1999 17:07:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Position a Modal Form
Miscellaneous
Thread ID:
00296570
Message ID:
00296570
Views:
57
I am displaying a modal form on top of a data entry form if a certain contition exists. I want to position the top of this modal form to be just below the current control on the original form.

To do this I am looking at the top property of the current control and adding the top property of it's parent...and it's parent...and it's parent...etc. However there are some parents (ie containers) that don't have a TOP property.

This method works ok as long as the original control is NOT on a pageframe within a pageframe within a container...etc.

Is there a better way to calculate where the top of this modal form should be to appear just below the current control?
Thanks,
Dan Jurden
djurden@outlook.com
Next
Reply
Map
View

Click here to load this message in the networking platform