Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi combobox, von anfang an ausgewählt (https://www.delphipraxis.net/26158-combobox-von-anfang-ausgewaehlt.html)

G G 19. Jul 2004 14:51


combobox, von anfang an ausgewählt
 
hi, ich habe eine combobox, aber ich will das ich einstellen kann was die ausgewählte option ist, also das was dann als ausgewählten dasteht?

danke

Nalincah 19. Jul 2004 14:54

Re: combobox, von anfang an ausgewählt
 
Im OnCreate-Ereignis (oder wo auch immer) "ComboBox1.Itemindex" auf den gewünschten Wert setzen. 0 = Erster Eintrag usw..


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:07 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz