Searching an item in a TcxTreeList in Borland C++ Builder 6
问题 I am using C++ Builder 6. I have a TreeList with two columns and a TrzEdit and a Search Button. I want to find the item which i will type in the Edit field once i type something in the box. How can I display it? void __fastcall TMainForm::BtnSearchClick(TObject *Sender) { for (TcxTreeListNode* node = TreeList->TopNode ; node != NULL; node = node->GetNext()) { String value = node->Values[PropertyName->ItemIndex]; if ( value == Search->Text.c_str()) { ShowMessage("Foundit"); } } } Can someone