Information générale
Titre:
Exact control coordinates
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement