Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RGB color code behind mouse pointer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01247730
Message ID:
01247750
Vues:
21
If you are looking for the RGB of a point on one of your VFP forms then you can simple put code like the following in the MouseDown event...

thisform.Point(m.nXCoord, m.nYCoord)

>Dear Experts
>
>I use following command to show the location of Mouse pointer
>
>rowloc=mrow()
>colloc=mcol()
>thisform.text1.value=alltrim(str(rowloc))+space(3)+alltrim(str(colloc))
>
>
>Now I want to dispaly the RGB color code behind mouse pointer.
>Suppose there is white color at mouse location then text2 must have
>255,255,255
>
>Please help
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform