[Lazarus] Custom control

Vojtěch Čihák vojtech.cihak at atlas.cz
Wed Jul 24 21:50:59 CEST 2013

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

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.


The best regards,

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


Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130724/8b57c023/attachment-0003.html>

More information about the Lazarus mailing list