Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MouseDown xCoord and controls position in the child form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
MouseDown xCoord and controls position in the child form
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01281310
Message ID:
01281310
Views:
61
Hi all

I have a form which has a custom button control based on the container class. The contained class MouseDown is BINDEVENT() to the container's MouseDown. Now this control is in two parts I want to know which area was click by the user and I want to adapt execution of the code in the container.MouseDown(). It seems the x/yCoord sent as a parameter to the MouseDown() is in terms of the whole screen.

How can I convert the Top and Left of the container to screen or x/yCoord to the forms Top / Left?

Please advise.

Thanks.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform