Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>
>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement