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 BitBtn Bild Maximum auf das Button skalieren ? (https://www.delphipraxis.net/114452-bitbtn-bild-maximum-auf-das-button-skalieren.html)

Delphiturbo 25. Mai 2008 20:53


BitBtn Bild Maximum auf das Button skalieren ?
 
Hallo

wenn ich ein Bild (Icon oder Bmp) egal wie groß ist, 32x32 oder 64x64, dann kommt immer so klein auf dem Button !

wie kann ich das BitBtn-Bild skalieren (anpassen) ?
Delphi-Quellcode:
 
  begin
  ImageList1.GetBitmap(1, BitBtn1.Glyph);

Die Muhkuh 25. Mai 2008 20:54

Re: BitBtn Bild Maximum auf das Button skalieren ?
 
Bitmap in eine Variable speichern, per BitBlt vergrößern und dann auf den BitBtn.


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:14 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz