Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.761 Beiträge
 
Delphi 10.4 Sydney
 
#18

AW: Combobox lookup refresh Items

  Alt 16. Jan 2022, 18:59
ja, stimmt.
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  ComboBox1.Items[1] := ComboBox1.Items[1] + length( ComboBox1.Items[1] ).ToString;
  Label2.Text := ComboBox1.Items[1];
  ComboBox1.ItemIndex := 1;
  comboBox1.Repaint;
end;
So sollte es funktioneren.
Nein - auch noch nicht so richtig

Grüße
Klaus
Klaus

Geändert von Klaus01 (16. Jan 2022 um 19:04 Uhr)
  Mit Zitat antworten Zitat