maxoudu328
Messages postés52Date d'inscriptionmercredi 24 novembre 2004StatutMembreDernière intervention17 mai 2007
-
19 nov. 2005 à 19:34
jlen100
Messages postés1606Date d'inscriptionsamedi 10 juillet 2004StatutMembreDernière intervention25 juillet 2014
-
19 nov. 2005 à 21:28
Bonjour,
N'arrivent pas a ajouté un item d'un combobox directement via cette commande :
ListAjout.SubItems.Add(ComboBox1.items);
A cause de l'imcompatibilité des String et Tstring j'ai voulu transformer mon Tstring en String via cette commande :
Var
s:String;
T:TStrings;
x:Integer;
begin
T:=ComboBox1.items;
s:='';
for x:=0 to T.Count-1 do
s:=s+T.Strings[x];
ListAjout.SubItems.Add(ComboBox1.items);
Mais ca m'ajoute tout les items de ma ComboBox si vous pouviez me dire
comment fair pour ajouté juste celui qui a etait séléctionner ca serait
simpas de votre part .