bonjour,
voila j'aimerais bien récupérer la position d'un champs dans une
TStringList, en cherchant un peu j'ai trouver quelque chose
mais j'ai pas l'impression que ça fonctionne bien
ce que je remarque c'est que si la chaine Z_COT_REEDITION est
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 int index; pEtq->pFormat->pListeCZ->Find("Z_COT_REEDITION",index); if( index>-1 ) { index--; m_listZonDonSave->Delete(index); m_listZonDonSave->Insert(index,"#"); } m_listZonDon->AddStrings(m_listZonDonSave);
pas dans la liste il me ramene toujours un index à 30
Partager