Einzelnen Beitrag anzeigen

Markus K.

Registriert seit: 26. Jan 2004
Ort: Halle
346 Beiträge
 
Delphi 2005 Personal
 
#3

Re: ComboBox: keine doppelten Einträge

  Alt 7. Mai 2004, 19:29
Hallo yankee,
versuche es mal so.
Delphi-Quellcode:
for i :=0 to VerlagcomboBox.Items.Count-1 do
begin
     if VerlagcomboBox.Items.Names[i] =VerlagcomboBox.Items.Names[i+1]
     then VerlagComboBox.Items.Delete(i);
end;
Tschüß Markus
  Mit Zitat antworten Zitat