tblakemore
04-02-2005, 09:54 PM
Hello,
I have a simple question. I have a form and a picturebox. All I want to do is when I mouseover the picturebox, have the pixels RGB value that is under the cursor displayed in a textbox.
However, I cannot find any documentation to do this.
I have tried --> picture1.point(X,Y) <-- to retrieve the color but it returns the result as a long number.
Does anyone know how to convert this number to an RGB or if there is another function to retrieve the RGB of an image a cursor is under.
I have a simple question. I have a form and a picturebox. All I want to do is when I mouseover the picturebox, have the pixels RGB value that is under the cursor displayed in a textbox.
However, I cannot find any documentation to do this.
I have tried --> picture1.point(X,Y) <-- to retrieve the color but it returns the result as a long number.
Does anyone know how to convert this number to an RGB or if there is another function to retrieve the RGB of an image a cursor is under.