Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position a Modal Form
Message
 
 
À
29/11/1999 17:07:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00296570
Message ID:
00296648
Vues:
26
Dan,

Look at the OBJTOCLIENT() function.

You can also test the BaseClass of the current container you are recursing/iterating through and do some appropriate conditional code in a DO CASE. You can also use PEMSTATUS() to see if the Top property exists.

>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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform