[Lazarus] csOpaque seems to be broken in 0.9.29

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Dec 23 10:38:52 CET 2009


On Wed, 23 Dec 2009 08:20:09 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:

> JoshyFun schrieb:
> 
> > ZD> You need a new control TLayout derived from TGraphicControl but have
> > ZD> new component state csSomthing to bypass mouse action at runtime and
> > ZD> leave it other controls, but the real problem it must have child
> > ZD> controls and that need hard coding make many new bugs.
> > 
> > When I talk about transparent control I was talking in the sense of
> > visually transparent, not in the sense of bypassing mouse clicks.
> 
> IMO transparent controls should be treated as having a glass surface - 
> you can see buttons through the glass, but you cannot touch them. The 
> glass only covers the intended client area of the control, everything 
> outside its (possibly non-rectangular) border works as before.

Transparent has many meanings. This is one of them.
Another is non rectangular controls.

IMO: if something works like glass it should look like glass, which is
not: 100% transparency.

Mattias




More information about the Lazarus mailing list