Jump to content

file upload buttons


jahlxx

Recommended Posts

31 minutes ago, jahlxx said:

This is urgent please. Someone can hekp me?

Maybe something like this at the moment:

  ...
  UniFileUpload1.Execute;

  UniSession.AddJS(
    'Ext.defer(function(){'+
    '    var fWin = Ext.WindowManager.getActive();'+
    '    if (fWin) {'+
    '        fWin.setWidth(310); fWin.setHeight(178); fWin.getEl().select("a.x-btn").setTop(100);'+
    '    }'+
    '}, 200);'
  );
  ...

 

  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...
18 hours ago, jahlxx said:

backgorund color, font color, and so on.

Maybe something like this

1. CustomCSS:

.customBtn .x-btn-inner {
    color: green;
    font-weight: bold;
}

.customBtn .x-btn-button {
    background-color: antiquewhite;
}

2. addCls

  UniSession.AddJS(
    'Ext.defer(function(){'+
    '    var fWin = Ext.WindowManager.getActive();'+
    '    if (fWin) {'+
    '        fWin.setWidth(310); fWin.setHeight(178); fWin.getEl().select("a.x-btn").setTop(100); fWin.getEl().select("a.x-btn").addCls("customBtn");'+
    '    }'+
    '}, 200);'
  );

 

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