Jump to content

how change disabled panel color ?


mehmet07

Recommended Posts

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;
}
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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;
');
}

Link to comment
Share on other sites

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;
');
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...