artem_niko Posted January 21, 2020 Share Posted January 21, 2020 Hello! Is it possible create translucent panel using UniPanel? I want the panel to be translucent and through it the main shape can be seen. Therefore, I ask, is it possible to make the translucent state of the panel using CSS or JavaScript? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 21, 2020 Share Posted January 21, 2020 5 minutes ago, Артем said: Is it possible create translucent panel using UniPanel? Hello, Do you mean transparent!? Quote Link to comment Share on other sites More sharing options...
artem_niko Posted January 21, 2020 Author Share Posted January 21, 2020 Just now, Sherzod said: Hello, Do you mean transparent!? Yes. But not full, and partial... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 21, 2020 Share Posted January 21, 2020 18 minutes ago, Артем said: Yes. But not full, and partial... procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('bodyStyle', ['background-color:rgba(255, 255, 255, 0.5)']); end; Quote Link to comment Share on other sites More sharing options...
artem_niko Posted January 21, 2020 Author Share Posted January 21, 2020 13 minutes ago, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('bodyStyle', ['background-color:rgba(255, 255, 255, 0.5)']); end; It's perfect!!!!! Cool! And is it possible apply this code not for UniPanel, and, fro example, to Form? (FreeForm) 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.