Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make a control transparent

Is there any way to make a control transparent like button, edit, panel or etc...? I mean something like opacity or alpha blend that we have in form property.

like image 280
Armin Taghavizad Avatar asked Nov 06 '22 11:11

Armin Taghavizad


2 Answers

Some components have the transparent property. In others you can choose 'none' as the color property. It differs from component to component, but not all components can be made transparent by changing a property.

You should try googling Delphi transparent components, there are downloadable components and tricks you can do to make existing components transparent.

like image 150
Dian Avatar answered Nov 15 '22 05:11

Dian


Take a look at the Win32 windows styles, especially WS_TRANSPARENT (or WS_EX_TRANSPARENT).

like image 25
Karlth Avatar answered Nov 15 '22 05:11

Karlth