yeah i'm already looping through the checkboxlist.items(x), the thing is that i can't call out the label object for the checkboxlist item, to do anything to it.
here's my sub:
Private Sub checkItems(ByVal theCheck As CheckBoxList, ByVal compAr As Array)
Dim i, x As Integer
Dim chkStr, valStr As String
For i = 0 To (theCheck.Items.Count - 1)
chkStr = Trim(theCheck.Items(i).Text)
For x = 0 To UBound(compAr)
valStr = Trim(CStr(compAr(x)))
If chkStr = valStr Then
theCheck.Items(i).Selected = True
End If
Next
Next
End Sub
At the same time i'm setting the "selected = true", i want to change the label text color.