Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop 'n drag (and stay)
Message
De
16/01/2005 00:47:09
 
 
À
14/01/2005 18:30:53
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Divers
Thread ID:
00977399
Message ID:
00977544
Vues:
31
Victor,

I'd like to add to my last post ... While the answer I gave you will work just fine, it's not the best way to do it. I've discovered something better. Every control has a PointToClient() method. Use it like this:
        Dim xy As Point = pnlDrop.PointToClient(New Point(e.X, e.Y))
Isn't that a little cleaner? =)

~~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