Jump to content

Sherzod

Moderators
  • Posts

    19790
  • Joined

  • Last visited

  • Days Won

    643

Everything posted by Sherzod

  1. Я не смог воспроизвести... Или же Вы используете динамические контролы!?
  2. For example: 1. procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel1 do if TitleVisible then begin JSInterface.JSConfig('icon', ['files/truck.ico']); JSInterface.JSConfig('iconCls', ['panelIconCls']); end; end; 2. CustomCSS: .panelIconCls { background-size: 100% auto; }
  3. You can try to use the iconCls config.
  4. procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel5 do if TitleVisible then JSInterface.JSConfig('icon', ['files/filename.ico']) end;
  5. Try this approach: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel1 do if TitleVisible then JSInterface.JSConfig('icon', [UniImageList1.GetImageIconUrl(0)]) end;
  6. Try this approach for now: ... if llist<>'' then begin //MyTreeMenu.JSInterface.JSAssign('_rtext', [MyTreeMenu.JSControl.JSArray(llist)]); MyTreeMenu.JSInterface.JSAssign('_rtext', [MyTreeMenu.JSInterface.JSStatement('[' + llist + ']')]); MyTreeMenu.JSInterface.JSCode('var me='#1';'+ 'if(me._rtext) me.getStore().each(function(record) {'+ ' if (me._rtext.indexOf(record.get("text")) > -1) {'+ ' record.remove()'+ ' }'+ '});' ); end; ...
  7. Hello, And which image do you want to add? Maybe you want to add an icon?
  8. Здравствуйте, У Вас десктопное приложение? Это для мобильных приложений.
  9. Such codes should be used in the UniFrameReady event.
  10. Hello, Can you make a simple testcase to check?
  11. Hi, Sorry, I will check your testcase.
  12. Не меняется даже размер шрифта?
  13. Hello, Yes, you can upload new version of your application remotely and the rest of job will be done by HyperServer. HyperServer will update Nodes gradually and all new sessions will be redirected to Nodes running new version of your application. Nodes with older versions will be discarded and purged as soon as all their sessions are logged out. http://unigui.com/explore/unigui-hyperserver
  14. Hi, Can you try this? UniEdit1 ->InputMaks -> Mask = a9a9a9
  15. Hi, Try to add only this script, for example MainForm -> Script: Ext.onReady(function() { window.fwSettings = { 'widget_id': 80000001814 }; ! function() { if ("function" != typeof window.FreshworksWidget) { var n = function() { n.q.push(arguments) }; n.q = [], window.FreshworksWidget = n } }(); var s = document.createElement("script"); s.type = "text/javascript"; s.src = "https://euc-widget.freshworks.com/widgets/80000001814.js"; $("head").append(s); });
  16. Hello, How are you trying to start the service?
  17. Один из возможных решений: procedure TMainmForm.UnimFormReady(Sender: TObject); var I: Byte; begin for I := 0 to TitleButtons.Count-1 do JSInterface.JSCode(#1'.element.addBeforeListener("tap",function(){return '+Self.WebForm.JSForm.JSName+'.isValid()});', TitleButtons[I].JSMenuItem); end;
×
×
  • Create New...