Autor Beitrag
mindtrap
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62



BeitragVerfasst: Mo 14.12.09 16:07 
Hi,

ich suche eine Möglichkeit den Hintergrund der Komponente TVirtualStringTree transparent zu machen,
damit der Hintergrund des Parents verwendet wird.

Danke

CrossPost: DP
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 14.12.09 16:17 
Ich glaube, da hilft nur selberzeichnen, bzw. die Transparenz zu faken. Bau dir ein Bitmap zusammen, das den von dem VST verdeckten Bereich enthält und setze dieses Bild als Hintergrund. Evtl. muss man die BackgroundOffsets noch etwas anpassen.

_________________
We are, we were and will not be.
mindtrap Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 62



BeitragVerfasst: Mo 14.12.09 16:50 
Hatte gehofft, dass es einen eleganteren Weg gibt.
Aber okay, dann mach ich es so.

Danke.