mehmet07 Posted December 5, 2013 Share Posted December 5, 2013 Hi, how change disabled panel color ? Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 5, 2013 Share Posted December 5, 2013 Hi mehmet pak. Try this: UniSession.AddJS('document.getElementById("'+UniPanel1.JsName+'_id-body").style.backgroundColor = "green";'); Sincerely Sorry I hurried to answer... may just need to change the class UniServerModule - > CustomCSS add .x-mask { background: none repeat scroll 0 0 #000CCC; opacity: 0.5; } Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted December 5, 2013 Author Share Posted December 5, 2013 thanks Delphi Developer. i try this not working. UniSession.AddJS('document.getElementById("'+UniPanel1.JsName+'_id-body").style.backgroundColor = "green"'); .x-mask { background: none repeat scroll 0 0 #000CCC; opacity: 0.5; } This is working. But All forms have changed masks. Quote Link to comment Share on other sites More sharing options...
ganzqgy Posted December 8, 2013 Share Posted December 8, 2013 function afterrender(sender, eOpts){ sender.body.applyStyles('border-radius:5px;background-color:transparent;background-image:url(files/2.gif); background-repeat:repeat;border-style: solid;');} Quote Link to comment Share on other sites More sharing options...
ganzqgy Posted December 8, 2013 Share Posted December 8, 2013 UniURLFrame,unipanel,UniTabSheet,UniRadioGroup...: function afterrender(sender, eOpts){ sender.body.applyStyles('border-radius:5px;background-color:transparent;background-image:url(files/2.gif); background-repeat:repeat;border-style: solid;');} 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.