![]() |
ComboBox die eine DropDownList ist, mit Wert vorbelegen
Hallo zusammen,
wenn ich nicht drop down list auswähle kann ich so vorbelegen:
Delphi-Quellcode:
Wie geht das wenn ich DropDownList ausgeählt habe ?
ComboBoxJahr.Text := inttostr(Yearof(Date));
Gruss Holger |
Re: ComboBox die eine DropDownList ist, mit Wert vorbelegen
Delphi-Quellcode:
with ComboBox do
ItemIndex := Items.IndexOf(IntToStr(Yearof(Date))); |
Re: ComboBox die eine DropDownList ist, mit Wert vorbelegen
Vielen Dank,
so hat es geklappt. Gruss Holger |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:35 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz