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. Quote 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 Quote 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! Quote 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 Quote 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 Quote 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; Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.