Alessandro Posted June 27, 2019 Share Posted June 27, 2019 Hello guys. I have already seen several examples that it is possible to make the Form transparent. Can I also set then uniPanel transparent? Thankful. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 28, 2019 Share Posted June 28, 2019 Hi, Add this onCreate of Form or Frame with UniPanel1, JSInterface do begin JSAddListener('afterrender', JSFunction('sender', ' sender.setBodyStyle("background","transparent"); '+ ' sender.setBodyStyle("frame",false); '+ ' sender.setBodyStyle("border","none");') ); end; 2 Link to comment Share on other sites More sharing options...
Alessandro Posted June 28, 2019 Author Share Posted June 28, 2019 9 hours ago, Hayri ASLAN said: Hi, Add this onCreate of Form or Frame with UniPanel1, JSInterface do begin JSAddListener('afterrender', JSFunction('sender', ' sender.setBodyStyle("background","transparent"); '+ ' sender.setBodyStyle("frame",false); '+ ' sender.setBodyStyle("border","none");') ); end; Thanks! Link to comment Share on other sites More sharing options...
Kattes Posted September 1, 2020 Share Posted September 1, 2020 Has somebody any idea, how this could work for UnimPanel - so for mobile applications? Unfortunately all above does not work here Link to comment Share on other sites More sharing options...
Kattes Posted September 1, 2020 Share Posted September 1, 2020 But probably UnimContainerPanel is the right answer Link to comment Share on other sites More sharing options...
Pep Posted September 2, 2020 Share Posted September 2, 2020 Did you try to: color := clNone; Link to comment Share on other sites More sharing options...
Kattes Posted September 28, 2020 Share Posted September 28, 2020 On 9/2/2020 at 8:38 AM, Pep said: Did you try to: color := clNone; No that does not work, it does not give you real transparency Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now