[Lazarus] csOpaque seems to be broken in 0.9.29
Paul Ishenin
webpirat at mail.ru
Tue Dec 22 15:22:13 CET 2009
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.
More information about the Lazarus
mailing list