General information
Category:
Forms & Form designer
>>
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only