Thanks.
I stuck a select in and it works ok. I was just hoping to get something a little more elegent than 50 case statements. It does work though. Actually I'm changing the background color of a label.
Thanks again.
Please be easy with me. I'm a newbie. I have a form with 50 labels named status 1 - 50. I would like to change the back color of one.
I could use status2.Backcolor=System.Drawing.Color.Red and change the status2 button. I would like to make the "2" dynamic so I don't need 50 instructions to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.