Delphi-PRAXiS
Seite 2 von 2     12   

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 TToolButton eigene Icons? (https://www.delphipraxis.net/118528-ttoolbutton-eigene-icons.html)

sk0r 9. Aug 2008 16:22

Re: TToolButton eigene Icons?
 
Zitat:

Zitat von taaktaak
Seltsam! Die Indices stehen in der Liste unterhalb der Bilder, wenn du ein Bild hinzugefügt hast, hat es den Index 0. Vielleicht ist OnCreate() der falsche Zeitpunkt der Zuweisung. Weise den Index doch einfach im OI und nicht im OnCreate() zu, dann müsste es funktionieren

Selbst per Objektinspektor funktioniert es nicht. :|

taaktaak 9. Aug 2008 16:29

Re: TToolButton eigene Icons?
 
Hawkeye hat einen wichtigen Hinweis gegeben! Ist die Imagelist denn der Toolbar zugewiesen?

Bernhard Geyer 9. Aug 2008 16:30

Re: TToolButton eigene Icons?
 
Zitat:

Zitat von sk0r
Selbst per Objektinspektor funktioniert es nicht. :|

Steht im Property Toolbar.Images deine ImageList? Ansonsten gabs mal bei alten S3-Grafikkarten das Problem das Treiberfehler dafür gesorgt haben das Images aus einer ImageList nicht funktionieren. Also wäre ein Treiberupdate mal eine Versuch wert.


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:10 Uhr.
Seite 2 von 2     12   

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