Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Drop Down Eintrag automatisch markieren (https://www.delphipraxis.net/94731-drop-down-eintrag-automatisch-markieren.html)

sebastian_buege 26. Jun 2007 08:50


Drop Down Eintrag automatisch markieren
 
Hallo ich habe eine Drop Down Liste (csDropDownList) nun möcht ich Einträge automatisch hinzufügen (klappt auch). Aber was nicht klappt, ich will automatisch einen Eintrag markieren. Habe es schon mit
Code:
settext
probiert das geht aber nur wenn der style auf csDropDown steht und das will ich nicht hat jemand eine Idee.

vielen Dank

Tormentor32 26. Jun 2007 08:52

Re: Drop Down Eintrag automatisch markieren
 
Versuchsmal mit
Delphi-Quellcode:
ComboBox1.ItemIndex := 3

sebastian_buege 26. Jun 2007 08:58

Re: Drop Down Eintrag automatisch markieren
 
Perfekt ich danke dir .


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:13 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