Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click on a map
Message
 
To
25/08/1997 16:48:08
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00046665
Message ID:
00046804
Views:
27
>>
>>I thought of a potential way to fulfill the user's specific request. Here's what I wrote in the .click of an image control:
>>
>>Xposish = MCOL('usaformtest')
>>Yposish = MROW('usaformtest')
>>ncolor = THISFORM.Point(Xposish,Yposish)
>>
>>but it doesn't quite work, because MCOL() and MROW() return columns and rows, but the .Point method needs pixels. Columns and Rows aren't precise enough anyway. Is there a way to know the exact pixel position of the mouse pointer?
>
>YUP..
>
>Xposish = MCOL('usaformtest',3)
>Yposish = MROW('usaformtest',3)

Since I have VFP3, I don't have that second parameter. But Ed's suggestion worked. Thanks anyway.
Previous
Reply
Map
View

Click here to load this message in the networking platform