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 LMDListBox und Transparenz (https://www.delphipraxis.net/66218-lmdlistbox-und-transparenz.html)

Whistler 26. Mär 2006 20:57


LMDListBox und Transparenz
 
Guten Abend,

sehe ich das falsch?
Der Objektinspektor weist mir bei der Komponente "LMDListbox" die Eigenschaft "Transparent" aus.
Stelle ich hier den Wert auf "true", so erwarte ich eigentlich, dass die ganze Box transparent wird, der Hintergrund also durchscheint ;-)

Leider ist dem nicht so... mir ist also nicht ganz klar was diese Eigenschaft bewirken soll.
Wende ich es falsch an?


Gibt es Alternativen für transparente Listboxen?

Whistler 26. Mär 2006 21:01

Re: LMDListBox und Transparenz
 
Okay, hat sich geklärt:

Zitat:

From LMD-Tools version 3.5 on a "transparency" effect for TWinControl descendants was introduced.

However the controls are not really transparent in the way you know it from e.g. a TLMDLabel control. They only share the same background with specialized parent components (TLMDBackPanel, TLMDGroupBox, TLMDPanelFill or since LMD-Tools 7 TLMDFormFill, TLMDBack etc.).

This fact explains why you won't see any change if you activate the Transparent property of TLMDSimplePanel if it is placed on an standard VCL panel. This text describes the steps to use the Transparent feature correctly.


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