if textbox.forecolor = system.drawing.color.green then
textbox.forecolor = system.drawing.color.red
will not compile.
VB.net gives me the message that "operator '=' is not defined for types 'system.drawing.color' and 'system.drawing.color'." with error highlight on the
"if ... then" line, not with the second line. I do not understand the problem nor know a solution. Any help? I need to conditionally change the forecolor. Thanks.
textbox.forecolor = system.drawing.color.red
will not compile.
VB.net gives me the message that "operator '=' is not defined for types 'system.drawing.color' and 'system.drawing.color'." with error highlight on the
"if ... then" line, not with the second line. I do not understand the problem nor know a solution. Any help? I need to conditionally change the forecolor. Thanks.