Information générale
Catégorie:
Codage, syntaxe et commandes
>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
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