Einzelnen Beitrag anzeigen

Delphi.Narium

Registriert seit: 27. Nov 2017
2.443 Beiträge
 
Delphi 7 Professional
 
#7

AW: TCombobox Text deselektieren nach SetFocus

  Alt 6. Jul 2023, 18:14
Geht das?
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  ComboBox1.SetFocus;
  ComboBox1.SelStart := Length(ComboBox1.Text) // evntuell + 1?;
  ComboBox1.SelLength := 0;
end;
  Mit Zitat antworten Zitat