Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DrawString MDI Form
Message
De
28/01/2012 10:30:35
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01533626
Message ID:
01533966
Vues:
46
>Hi Bonnie, I've tried saving the text position x + y values as fields in my class and checking them in the MouseOver event but no joy so far - I think the values are *very* accurate and unless the mouse coords are spot on it wont work - any ideas ? - thanks for your time :-)

You'd need to save both the x,y *and* the size ... that way you'd have a rectangle, centered on the x,y, of the area that the text is displayed in. Is that what you did?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform