I have a checkedListBox1 wich consist of a many lines with text.
What I am trying to do is to search trough this checkedListBox1 to see
if "Hello" could be found in this box and if it is found, this Item(Line) will
be selected.
I am not sure what could be wrong/missing with this code. ?
for( int i = 0; i < checkedListBox1->Text->Length; i++)
{
if(checkedListBox1->Text->IndexOf(i).ToString() == "Hello")
{
checkedListBox1->Select();
}
}