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 bilder aus Imagelist in einem Property editor oder ComboBox (https://www.delphipraxis.net/27558-bilder-aus-imagelist-einem-property-editor-oder-combobox.html)

Softchaos67 12. Aug 2004 07:40


bilder aus Imagelist in einem Property editor oder ComboBox
 
Hallo,
ich habe eine comp von TStringGrid abgeleitet.
Der Programmierer soll nun ein Bild(Pfeil) für die erste Spalte auswählen können.
Ich hätte das gerne wie bei TToolbar und TToolButton. Da hat TToolbar die prop Imagelist und TToolbutton di prop
imageindex. imageindex ist eine combo mit allen bildchen aus Imagelist.
Ich habe in meinem Stringgrid ne prop images(TImageList) und eine prop imageindex(für erste Zeile).
Wie bekomme ich die bildchen aus ImageList in eine Combo für imageindex??
Momentan kann ich halt nur eine Zahl in imageindex eintragen, was auch geht, aber mit combo wärs halt schick.
Gruss
Matthias


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