Quote:
Originally posted by sxcostanzo
That's what my book says also.....
However, I am running into an issue where I have 8 list boxes with the same information (The user can choose 8 out of 30 items to graph). There are 8 labels to the left of these list boxes that I set colors to.
In .NET it seems like I have to do
lblItem1.BackColor =
lblItem2.BackColor =
...
lblItem8.BackColor =
as opposed to either using a control array in vb6 or even
For intI = 1 to 8
me.controls("lblItem" & intI).BackColor
next
So my question is: Is there a way to do the control looping? It seems like the controls are based upon integers as opposed to putting the name in.