[Lazarus] Custom control

Fabio Luis Girardi fluisgirardi at gmail.com
Wed Jul 24 22:55:59 CEST 2013


ControlStyle := ControlStyle - [csOpaque]; don't have effect, even in QT

2013/7/24 Fabio Luis Girardi <fluisgirardi at gmail.com>:
> ControlStyle := ControlStyle - [csOpaque]; don't have effect, even in QT
>
> 2013/7/24 Vojtěch Čihák <vojtech.cihak at atlas.cz>:
>> It works for me but only in Qt. You have to set ControlStyle := ControlStyle
>> - [csOpaque]; in constructor. csParentBackground seems to have no effect on
>> it.
>>
>> In GTK2 I cannot overlay components anyway.
>>
>>
>>
>> Vojtěch
>>
>> ______________________________________________________________
>>> Od: "Fabio Luis Girardi" <fluisgirardi at gmail.com>
>>> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
>>> Datum: 24.07.2013 21:30
>>> Předmět: [Lazarus] Custom control
>>>
>>
>> Hi!!
>>
>> Somebody knows how make a custom control with background transparency
>> on GTK2/QT?
>>
>> My idea is that a control behind of this custom control must be
>> displayed (if this control is behind of a non painted area)
>>
>>
>> Problem example attached.
>>
>> Ideas?
>>
>> --
>> The best regards,
>>
>> Fabio Luis Girardi
>> PascalSCADA Project
>> http://sourceforge.net/projects/pascalscada
>> http://www.pascalscada.com
>>
>>
>> ----------
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
> --
> The best regards,
>
> Fabio Luis Girardi
> PascalSCADA Project
> http://sourceforge.net/projects/pascalscada
> http://www.pascalscada.com



-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com




More information about the Lazarus mailing list