Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RGB color code behind mouse pointer
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01247730
Message ID:
01247750
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform