1
I have the following code in the button action:
pnl1.BackColor = Color.DarkOrange
pnl2.BackColor = Color.DarkOrange
pnl3.BackColor = Color.DarkOrange
pnl4.BackColor = Color.DarkOrange
pnl5.BackColor = Color.DarkOrange
pnl6.BackColor = Color.DarkOrange
... tenho 100 Panel'seguinte
Repeating the 100x code becomes ridiculous beyond impractical, what I thought was something like this:
For i = 0 to 100
(pnl+i.toString).BackColor = Color.DarkOrange
Next
That would work better...
But I’m not getting it, I even thought about Macro Substitution but I still don’t know the language very well.
Thanks in advance!
Thank you very much! I managed to treat this way!
– marcelo_drummer