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 SpeedButton.Glyph Loadfromfile??? (https://www.delphipraxis.net/58195-speedbutton-glyph-loadfromfile.html)

robinWie 2. Dez 2005 19:13


SpeedButton.Glyph Loadfromfile???
 
Hallo,

gibt es die möglichkeit bei Speedbuttons Bilder aus einer Datei mit einen OpenDialog zu laden?

Danke im Voraus

ichbins 2. Dez 2005 19:18

Re: SpeedButton.Glyph Loadfromfile???
 
Delphi-Quellcode:
if not opendialog1.execute then exit;
speedbutton1.glyph.loadfromfile(opendialog1.filename);
Bei mir ist Glyph ein TBitmap und bei einem TBitmap kann man loadfromfile machen. Bei dir etwa nicht :gruebel:


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