Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click on a map
Message
 
À
25/08/1997 16:48:08
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00046665
Message ID:
00046804
Vues:
32
>>
>>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
Fil
Voir

Click here to load this message in the networking platform