D7 - Custom Control - Toolbar and background


2005-03-16 01:52:12 AM
delphi46
Hi everyone,
I'm using Delphi 7 and I have created a control that derives a TCustomControl.
I'm painting the new control with a bitmap by using the canvas's
control.
I need to put a toolbar in that control. I am setting the transparent
property of the toolbar to True because I want to see the parent
background.
But the problem is that I am getting a black background for the toolbar
instead to see the parent background portion.
Can someone help me on this please?
Thanks!
Antony