I am trying to check on the color of a pic box using an if statement, but it doesnt like it, apparently = isnt a valid operator for for system.drawing.color.
It works fine when i am trying to set the color, just not when i am using it in an if statement.
Thanks.
It works fine when i am trying to set the color, just not when i am using it in an if statement.
Code:
If picRX.BackColor = Color.Green Then MsgBox("")
Thanks.