I am looping throught the items in a checked list box. If it helps, all
of the items are checked. If I string of text matches a certain
criteria I would like to change it's text color to red. I know this is
incorrect, but something like so:
If clbFinalList.It ems(intLoopCoun t) = strBadA(x) Then
clbFinalList.It ems(x).forecolo r = Color.Red
End If
What is the proper syntax to accomplish this?
Thank you,
John
of the items are checked. If I string of text matches a certain
criteria I would like to change it's text color to red. I know this is
incorrect, but something like so:
If clbFinalList.It ems(intLoopCoun t) = strBadA(x) Then
clbFinalList.It ems(x).forecolo r = Color.Red
End If
What is the proper syntax to accomplish this?
Thank you,
John
Comment