[Lazarus] Transparent Container/Panel in LCL?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Sep 3 19:45:50 CEST 2012

The code works in Windows and in Qt in Mac OS X.

Gtk2 has a problem that it does not allow setting the region of a
control before the expose event. So basically setting the region in
the event OnCreate will not do anything. I had this problem in my
application and I think that the only thing that worked for me was
using a timer with interval 1. It sucks, but well, that's Gtk2 =)

Felipe Monteiro de Carvalho

More information about the Lazarus mailing list