[Originally posted by Stan]
There is this line of code i don't understand, pls help..
If Point(x,y) = &HFF00& Then....
Printable View
[Originally posted by Stan]
There is this line of code i don't understand, pls help..
If Point(x,y) = &HFF00& Then....
[Originally posted by Lossanarch]
&HFF00& is a hex address in the code in the computers memory...
but i cant really tell u what that line does without more info...
basically it says is 'if that address is at that point then do such and such.'
sorry i cant be more helpful :)
-Loss
[Originally posted by Greg DeBacker]
The Point function returns the color, in a Hex format, of the Pixel located at X, Y. &HFF00& is one way to represent a color. To see what this color is you can set the forms BackColor property to that value.
Put this in you form load event
Me.BackColor = &HFF00&
Refresh
Greg