Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coordinate's in the mouse up event
Message
From
13/04/2001 11:26:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00495285
Message ID:
00495301
Views:
12
>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()
Previous
Reply
Map
View

Click here to load this message in the networking platform