Link to home
Start Free TrialLog in
Avatar of Balder1978
Balder1978

asked on

How to make a control derived from TCustomControl transparent

I have a custom control which inherits TCustomControl. On this control there is a TShape, TImage and a TLabel control.
All of the controls added, I can make transparent, but does anyone know how I could make the TCustomControl transparent?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of andrewjb
andrewjb
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Balder1978
Balder1978

ASKER

Thanks for the info.
 I'm pretty nww at this, so if you have any example code, please let me know.
But I'll fiddle with it for a couple of hours ;)

Thanks!
The only thing I needed to do was to set Canvas.Brush.Style to bsClear.