GroupBox's and ToolBar's Transparent lazarus / 31-LCL ---------------------------------------------------------------------- anna · 2010-07-23 07:09 Question1: Why GroupBox has not transparent property? How to make GroupBox transparent (by easiest way, no 3rd party components)? Question2: What ToolBar's transparent property does? ---------------------------------------------------------------------- anna · 2010-07-23 10:43 Okey. What about 3rd party transparent lazarus TGroupBox? Is there ready packages for lazarus? ---------------------------------------------------------------------- garlar27 · 2010-07-23 11:58 AFAIK Group boxes are transparent on Linux, on windows it's not transparent I think is an OS issue. And about ToolBar's: Transparent property should make it transparent (I gess) but, if so, it seems it's not working (at least on Ubuntu 9.04). ---------------------------------------------------------------------- anna · 2010-07-23 13:43 Quote from: garlar27 on July 23, 2010, 01:58:08 pmAFAIK Group boxes are transparent on Linux, on windows it's not transparent I think is an OS issue. ... GroupBox has true ParentColor property by default. It is good for forms. But what may I do if I have some Image behind? Developers are funny. ---------------------------------------------------------------------- skalogryz · 2010-07-23 14:21 Quote from: anna on July 23, 2010, 09:09:48 amQuestion1: Why GroupBox has not transparent property? How to make GroupBox transparent (by easiest way, no 3rd party components)? as garlar27've said, unless OS supports the transparency for controls, you won't be able to enable it easily.  However you can try the following: * setting window transparency via WinAPI functions (if you're coding for Win32), but i'm not sure if it works for a controls (though it DOES work for forms); * read the Lazarus wiki for 3d party controls or search google; * Instead of using TGroupBox control, you can place TImage. Draw groupbox-es (via themes) borders inside of the image, leaving the rest of it transparent for background controls. P.S. MacOSX is full of transparent controls (no need for hacks and/or workarounds).