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 Image über Panels legen (https://www.delphipraxis.net/85887-image-ueber-panels-legen.html)

Alfonso 6. Feb 2007 13:29


Image über Panels legen
 
ich habe ein Formular mit mehreren Panels. Nun möchte ich quer über das gesamte Formular ein transparentes Image (eine art wasserzeichen) legen.
Dieses geht jedoch nicht. Die Panels lassen sich nicht hinter der Grafik platzieren.

Wie mache ich es?

Gruß
Alfonso

Relicted 6. Feb 2007 14:19

Re: Image über Panels legen
 
versuch mal das image mit owner und parent = form1 zu erstellen. dann kannst du es mit image1.bringtofront vor die panels bringen

gruß
reli

Alfonso 6. Feb 2007 14:26

Re: Image über Panels legen
 
Geht nicht.
Inzwischen habe ich folgendes in Google-Groups gelesen:
Zitat:

Non-windowed controls (eg graphic controls) are always behind windowed
controls. BringToFront/SendToBack works only relative to controls of the same
type (windowed or non-windowed) as the one being prioritised.
Ich frage mich, wie man den sowas trotzdem machen kann. Ich muss über das gesamte Formular eine Grafik mit einem Stempel "Ungültig" schreiben. Das muss doch irgendwie machbar sein, oder?

Gruß
Alfonso

yörsch 6. Feb 2007 14:49

Re: Image über Panels legen
 
Hmm. Nicht gut ... aber wenn die Panels halt vorgegeben sind?
Dann nim halt auch ein Panel und schreib mit ROT und FETT und groß "Ungülig" daruf .. :drunken:
das geht bestimmt ...
und wenns noch gut aus sehn soll, dann muß auf dem "Ungültig"-Panel noch ein Image oder ähnliches drauf...


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