Hi, I am trying to change the properties of a bunch of labels on my form, using a For loop, like such;
However, this doesn't work
so basically I was looking for the VB equivalent of the "FindComponent" function of Delphi which lets you do the same thing.
Thanks.
Code:
For i = 1 To 4
Me.lblRuleCLass(i).ForeColor = "8421504"
Next i

Thanks.