Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Location
Message
De
10/05/2006 08:23:08
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01120406
Message ID:
01120662
Vues:
22
Hi Gary,

For the position of controls on a Windows form, you can check out the Control.Position properties:
YourControl.Left;
YourControl.Right;
YourControl.Top;
YourControl.Bottom;
For the Form itself, you can use the properties above, plus check out the ClientRectangle property. By using several of these properties in conjunction you should be able to calculate the control's location with respect to the appropriate higher level parent.

Bill

>How do I get a controls acutal location so I can popup another form on the right edge.
>
>Gary
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform