<div>Hi,<br><br>I&#39;, writting component which using BGRABitmap for drawing theme. I inherit from TGraphicControl. Drawing works fine but I can&#39;t drop child controls (like TPanel do). So I switch parent class from TGraphicControl to TCustomControl with ControlStyle := ControlStyle + [csAcceptsControls, csOpaque]. Now I can drop childs but transparency has stopped working. It seems that TCustomControl (TWinControl also) draw first some standard background with control color. I am locked now. I see that TGroupBox have transparency (it inherit from TWinControl like TCustomControl do) and I don&#39;t know how he do it (fCompStyle := csGroupBox ?). I have ubuntu GTK2 and latest lazarus from SVN<br>
<br>Regards<br></div>