Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position a Modal Form
Message
De
29/11/1999 17:07:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Position a Modal Form
Divers
Thread ID:
00296570
Message ID:
00296570
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform