Jump to content

Recommended Posts

Posted

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;
}
Posted

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.

Posted

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

Posted

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

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...