Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coordinate's in the mouse up event
Message
De
13/04/2001 11:26:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00495285
Message ID:
00495301
Vues:
11
>However the nYcoord is not always accurate to where the mouse up is fired. Is there a conflict with the coordinate's in the container as compared to the form. Or might there be another method to do this someone wants to share?

nYcoord and nXcoord are in terms of the forms coordinates, according to teh docs, so if you use Left and Top of a control in a container, you need to take into consideration the Left and Top of the container itself, as well as any containers that might be in. To automatically adujust for containers, use ObjToClient()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform