Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exact object position
Message
De
27/06/2000 16:39:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00385253
Message ID:
00385382
Vues:
10
>>Can you determine the bottom center position of an object on a form given it's left,width,height and top positions?
>
>Yes.
>
>>When given the top position, is the left position relevant?
>
>Yes with respect to your first question.
>
>Y = This.Top + This.Height
>X = This.Left + (This.Width/2)

What if the object is within a container? Wouldn't you have to adjust for that?
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform