francesco_1994 Posted January 18, 2021 Share Posted January 18, 2021 Hi, I have 3 panels among which panel 1 contains the grid. I noticed that if I disable a panel (panel2.enable: = false) in order to overlap another one such as panel 3, everything above panel 2 appears opaque and consequently panel 3 overlapping panel 2 also appears half opaque, because it is part of half the area of panel 2 which is disabled and half of the area of panel 1 which is enabled. Panel 1, panel2 and panel 3 are children of the main form, so they have the same hierarchical rank. Is it possible to make the panel overlapping another panel keep its color and opacity? Because in this way it seems that panel 3 that overlaps panel 2 is disabled as panel 3 also appears opaque. I've tried with these lines of code but nothing: UniSession.AddJS('document.getElementById("'+self.UniPanel3.JSControl.Id+'").style.opacity="1";'); Can you help me? King Regards Francesco Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 18, 2021 Share Posted January 18, 2021 45 minutes ago, francesco_1994 said: I have 3 panels among which panel 1 contains the grid. I noticed that if I disable a panel (panel2.enable: = false) in order to overlap another one such as panel 3, everything above panel 2 appears opaque and consequently panel 3 overlapping panel 2 also appears half opaque, because it is part of half the area of panel 2 which is disabled and half of the area of panel 1 which is enabled. Panel 1, panel2 and panel 3 are children of the main form, so they have the same hierarchical rank. Is it possible to make the panel overlapping another panel keep its color and opacity? Because in this way it seems that panel 3 that overlaps panel 2 is disabled as panel 3 also appears opaque. I've tried with these lines of code but nothing: Hello, If I understand you correctly, perhaps you need to use the floating property. Quote Link to comment Share on other sites More sharing options...
francesco_1994 Posted January 18, 2021 Author Share Posted January 18, 2021 Perfect, it was just what I needed, thank you very much for the reply 😃 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.