Einzelnen Beitrag anzeigen

Benutzerbild von mirage228
mirage228

Registriert seit: 23. Mär 2003
Ort: Münster
3.750 Beiträge
 
Delphi 2010 Professional
 
#3

Re: ComboBox - Einträge per Button auswählen

  Alt 11. Mai 2004, 17:47
Du kannst ja machen:
Delphi-Quellcode:
var
  Index: Integer;
begin
  Index := ComboBox1.Items.IndexOf('xyz');
  if Index > -1 then
  ComboBox1.ItemIndex := Index;
end;
mfG
mirage228
David F.

May the source be with you, stranger.
PHP Inspection Unit (Delphi-Unit zum Analysieren von PHP Code)
  Mit Zitat antworten Zitat