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