Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exact control coordinates
Message
De
12/02/1997 11:37:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00020182
Message ID:
00020204
Vues:
32
>I've built a control class, and I need to I need to know the exact coordinates of the control with respect to the form it is placed on. The only time when this is a problem, is when the control is placed in a container class, and then an object of that class is placed on the form. That would require a "This.Parent.Left" and "This.Parent.Top". Since I don't know how many containers there might be above my control, is there a way to just get it's position relative to the form it is on?
>
>That question is as clear as mud huh? Any help?
>Joe


Use a loop and keep looping until the base class of the object is a form.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform