[Lazarus] csOpaque seems to be broken in 0.9.29

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Dec 23 19:51:44 CET 2009


Mattias Gaertner schrieb:

>> 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.

See last sentence above ;-)

In the most general case the mouse-sensitive area can be a discontiguous 
region, leaving a "hole" inside a frame. But I found no real use for 
such a construct.

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

Glass can have a color and a transparency from 0 to 100%, i.e. 
everything the widgetset(s) allows for.

DoDi





More information about the Lazarus mailing list