StaticText Transparent Not implemented? lazarus / 10-Designer ---------------------------------------------------------------------- Never · 2014-10-13 10:18 Transparent :=True for StaticText needs something more to function? or is malfunctioning? win7 64bit /laz1.2.4 ---------------------------------------------------------------------- Blaazen · 2014-10-13 11:09 It works on Qt. But ParentColor must be True and Color = Parent.Color. ---------------------------------------------------------------------- Never · 2014-10-13 11:22 Quote  StaticText1.ParentColor:=True;   StaticText1.Color:=Parent.Color;    the result is  SIGSEV as expected and this QuoteStaticText1.Color:=StaticText1.Parent.Color; is not transparent ---------------------------------------------------------------------- Blaazen · 2014-10-13 11:37 Sorry, it's not transparent here too, I just tried to put TStaticText over TShape and it doesn't work (Qt and Wine). But I tried TLabel and it's fine. ---------------------------------------------------------------------- BigChimp · 2014-10-13 11:58 Off-topic: perhaps this is sufficient for transparency: Code: [Select]POKE 53280,0:POKE 53281,0 Sorry could not resist... ---------------------------------------------------------------------- Never · 2014-10-13 12:10 reminded me Commodore 64  lol ---------------------------------------------------------------------- ChrisF · 2014-10-13 12:57 Are you trying something "special" ? By default, Transparent is already true for TStaticText; and it's working here without any modifications for this control. I mean, the color of the TStaticText child control is automatically set to the color of its parent when you change the color of the parent in the IDE (if transparent is set to true of course). Capture - a static text over a form (blue) and a shape (white): ---------------------------------------------------------------------- Never · 2014-10-13 13:14 @ChrisF this is not true in my enviroment the Statictext takes the color of the form  to avoid upload a pic the staticktext remains blue over the white object if you are running also win7 64 with laz 1.2.4 is there an option i should enable? ---------------------------------------------------------------------- ChrisF · 2014-10-13 14:02 I guess  I've probably not understood what you mean (sorry), as I can't reproduce it. For instance, a new capture: a TStaticText over a form and a picture (TImage) with Windows 7 64 bits and Lazarus 1.2.4 64 bits BTW, do you have disabled Themes inside your version of Windows 7 ? I'm not sure but I think there are some issues in this case... ---------------------------------------------------------------------- Never · 2014-10-13 14:16 your correct Themes  were disabled restarted the service but the behaivor remains the same is this property avaliable only with Themes enabled? ---------------------------------------------------------------------- ChrisF · 2014-10-13 14:29 Quote from: Never on October 13, 2014, 04:16:50 pm... is this property avaliable only with Themes enabled? Apparently. If I disable Themes (i.e. service stopped), I'm getting the same problem as your's (see capture). ---------------------------------------------------------------------- Never · 2014-10-13 14:43 thank you @ChrisF