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? 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!? 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... 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; 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) 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