Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click on a map
Message
From
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:
00046790
Views:
28
>
>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)
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform