TTreeNode * __fastcall TForm1::GetNodeByText(AnsiString sSearchText) { TTreeNode *pResultNode = NULL; TTreeNode *pNode = (TreeView1->Items->Count > 0) ? TreeView1->Items->Item[0] : NULL; // alle Nodes durchsuchen while (pNode != NULL) { if (UpperCase(pNode->Text) == UpperCase(sSearchText)) { pResultNode = pNode; break; } // nächstes Item in der Liste TreeView1->Items heraussuchen pNode = pNode->GetNext(); } return pResultNode; }
Kategorien
-
Neueste Beiträge
- [SAP] Mailversand einrichten
- [SAP EWM] SAP EWM and SAP ERP integration via CIF
- [SAP] Nutzung der ALV-Anzeige im MM-Reporting
- [Raspberry Pi 4] Raspberry Pi als DNS Server
- [Raspberry Pi] SSH aktivieren
- [Raspberry Pi] Bootoptionen in der config.txt
- [Raspberry Pi 4] Bessere Youtube-Videoperformance in Google Chrome
- [Raspberry Pi 4] Direkt von SSD booten (ohne SD-Karte)
- [ABAP] Fixkontentabelle (T030) auslesen
- [SAPUI5] SAPUI5 Entwicklung mit SAP Business Application Studio (BAS)