Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Wie im TComboBox ein Icon+Text darstellen ?? (https://www.delphipraxis.net/69245-wie-im-tcombobox-ein-icon-text-darstellen.html)

madina 12. Mai 2006 10:51


Wie im TComboBox ein Icon+Text darstellen ??
 
Hallo,

wie konnte ich im TComboBox links ein Icon und rechts daneben Text eingeben kann wie bei einem TCustomListView.ViewStyle=vsList ?

mfg

sh17 12. Mai 2006 10:57

Re: Wie im TComboBox ein Icon+Text darstellen ??
 
selbst zeichnen...

Style auf csOwnerDraw... setzen und OnDrawItem implementieren

Sidorion 12. Mai 2006 11:17

Re: Wie im TComboBox ein Icon+Text darstellen ??
 
Oder TComboBoxEx benutzen

madina 14. Mai 2006 11:53

Re: Wie im TComboBox ein Icon+Text darstellen ??
 
Hallo,

es klappt aber

1. wie kann ich der TComboBox.Items[i] gleichzeitig verschiedene Icons einfüge ??

2. wie kann ich dann auch gleichzeitig Text eingebe ??

mfg


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