Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Background einfügen (https://www.delphipraxis.net/108188-background-einfuegen.html)

MrMyagi 8. Feb 2008 15:27


Background einfügen
 
Guten Tag,
Weiß einer von Euch,
wie ich in der Form ein Hintergrundbild einfügen kann,
wo ich später noch Buttons etc drauf plazieren kann?


mfG, Nico

Die Muhkuh 8. Feb 2008 15:29

Re: Background einfügen
 
Hi,

entweder im Delphi-Referenz durchsuchenOnPaint ein Bild direkt auf die Form zeichnen oder eine TImage-Komponente auf die Form klatschen dort Deine Komponenten drauf.

MrMyagi 8. Feb 2008 15:32

Re: Background einfügen
 
Jawohl, danke so klappts :-D

patti 8. Feb 2008 15:36

Re: Background einfügen
 
Es gibt auch noch die Möglichkeit mit

Delphi-Quellcode:
Form1.Brush.Bitmap := bmp;
wobei bmp das Bild als TBitmap ist. Das Bild wird gekachelt über das gesamte Formular dargestellt.

Patti


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