Graeme Geldenhuys wrote:
What am I doing wrong, or is this another LCL bug? FMyContainer, FLabel and
FButton are private field variables of TForm1. I create the three
components at runtime.

FMyContainer is a TCustomControl descendant that has [csOpaque] excluded
from ControlStyle because I want the container component to be transparent.
Yet at runtime, the component is NOT transparent.
csOpaque is a hint which component gives to lcl whether it fully draws itself or not. It does not mean that component should be drawn transparently. Moreover it can't work for TWinControl which has a window - HWND or GdkWindow since that windows are not transparent.

Best regards,
Paul Ishenin.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to