A
Al@n
I hope I'm in the right group for this question.
I'm new to VB.net and am trying to change the background color of a button
when it is "clicked."
I'm using the code
"ctl..BackColor = System.Drawing.Color.Teal"
in the form_load event and it works, however when using the code with a
different color in the ctl_click event of the relevent button, in putting it
in an "If - then" statement, I'm being told that The operator'=' is not
defined.
I've some experience of VBA, however canot work this one out and would be
grateful for any assistance
Thanks
@l@n
I'm new to VB.net and am trying to change the background color of a button
when it is "clicked."
I'm using the code
"ctl..BackColor = System.Drawing.Color.Teal"
in the form_load event and it works, however when using the code with a
different color in the ctl_click event of the relevent button, in putting it
in an "If - then" statement, I'm being told that The operator'=' is not
defined.
I've some experience of VBA, however canot work this one out and would be
grateful for any assistance
Thanks
@l@n