Jump to content

Sherzod

Moderators
  • Posts

    19736
  • Joined

  • Last visited

  • Days Won

    639

Everything posted by Sherzod

  1. ... ClientEvents.ExtEvents.Clear; ClientEvents.ExtEvents.Add ('afterrender=function afterrender(sender, eOpts){this.addCls("my-panel");}'); ...
  2. Hello, Which error do you get? Did you assign a name to the component?
  3. UniHTMLMemo -> ShowToolbar = False (BorderStyle = ubsNone)
  4. Hello, JSCode for example: MainForm.UniHTMLMemo1.iframeEl.dom.contentDocument.documentElement.scrollHeight
  5. Hello, Which edition and build of UniGUI are you using?!
  6. Hi, First of all, can you please open a ticket in support portal as feature request? http://jira.fmsoft.net/servicedesk/customer/portal/4 And, can you tell me how do you add nodes to the treeview, designtime or runtime? Can you provide part of your code or a simple testcase?!
  7. Hi Erich, Sorry, what type of app? Can you explain in more details? Can you make a simple testcase for reproduce?!
  8. private { Private declarations } FInputType: string; procedure TMainForm.UniComboBox1TriggerEvent(Sender: TUniCustomComboBox; AButtonId: Integer); begin if AButtonId = 0 then begin // Вам нужна переменная, которая будет хранить пред.значение if FInputType = 'password' then begin Sender.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['type', 'text']); FInputType := 'text'; end else begin Sender.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['type', 'password']); FInputType := 'password' end; end; end; procedure TMainForm.UniFormCreate(Sender: TObject); begin UniComboBox1.JSInterface.JSConfig('inputType', ['password']); FInputType := 'password' end; Может как-то так...
  9. Пожалуйста, можете уточнить?
  10. http://jira.fmsoft.net/servicedesk/customer/portal/4
  11. Добрый день, procedure TMainForm.UniFormCreate(Sender: TObject); begin UniComboBox1.JSInterface.JSConfig('inputType', ['password']); end; ?
  12. Hello, Are you using frames?
  13. Hello, You can try this approach... UniChart -> ClientEvents -> ExtEvents -> function beforerender: function beforerender(sender, eOpts) { //for the first series for example sender.chart.series[0].setCurve({ type: 'cardinal', tension: 1 }); }
  14. Hello, Please adjust your forum email address first: And can you upgrade to the latest version and build?
  15. Hi, Can you please open a ticket in support portal?
  16. Hi, http://unigui.com/doc/online_help/eurekalog.htm ?
  17. UniLabel6.caption := 'Go To Google ' + '<a href="#" onclick="window.ajaxRequest('+ UniLabel6.JSName +', ''ahrefclick'', [''val=1''])">Google</a>'; procedure TMainForm.UniLabel6AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName='ahrefclick' then ShowMessage(Params.Values['val']); end;
  18. One possible solution: with UniBitBtn1.JSInterface do begin JSConfig('textAlign', ['left']); JSAddListener('afterrender', 'function(me){me.btnEl.setStyle("margin-left", "5px")}'); end;
×
×
  • Create New...