Jump to content

Sherzod

Moderators
  • Posts

    19790
  • Joined

  • Last visited

  • Days Won

    643

Everything posted by Sherzod

  1. Hello, Please specify which edition and build of UniGUI are you using?
  2. But there is another CSS class.
  3. Sherzod

    Roadmap

    Hello, Well, mobile components are already developed.
  4. Then you can also try with UniPanel: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSAddListener('afterrender', 'function(){this.body.dom.style.borderRadius="10px"}'); end;
  5. If you want to change the keyboard layout on the client side, you won't be able to do it. "But you can capture the keydown event and replace the character with something like this": https://jsfiddle.net/xpvt214o/430815/ https://stackoverflow.com/questions/51367824/change-input-text-language-at-focus-if-rtl https://stackoverflow.com/questions/11426969/change-keyboard-layout-with-javascript
  6. Hello, This post may help you: http://forums.unigui.com/index.php?/topic/12632-как-в-dbgrid-в-одной-ячейке-текст-в-две-строки/&do=findComment&comment=67379
  7. Hi, Can you please explain this moment?
  8. Hello, Here's what you need to know for starters I think: https://en.wikipedia.org/wiki/Domain_Name_System
  9. Hi, Which build are you using? Can you make a simple testcase for check?
  10. You can also analyze these examples: \FMSoft\Framework\uniGUI\Demos\Desktop\CustomControl-xx
  11. You can also create a property on the client side: procedure TMainForm.UniFormCreate(Sender: TObject); begin ... Self.WebForm.JSInterface.JSAssign('LDesignMode', [LDesignMode]); end; and in the setter method of your field: procedure TMainForm.SetDesignMode(const Value: Boolean); begin FDesignMode := Value; Self.WebForm.JSInterface.JSAssign('LDesignMode', [Value]); end; ...
  12. Sherzod

    Roadmap

    This will be added soon. But the lack of this component at the moment should not bother you when choosing UniGUI, I think. We will also try to give you a temporary solution if necessary, before including this component. You can create a project on VCL using ListView, indicating how you want to use this component and provide a download link, and we will analyze it.
  13. Sherzod

    Roadmap

    Hello, Remind, what features do you want?
  14. Hello, Sorry, but you already received a response from Farshad in the support portal: "Those properties will not be visible to client side. Only uniGUI components will be defined. However, the defined object is the corresponding Ext JS object not a Delphi object. For example for TUniEdit we have Ext.form.Field.Text. You will be able to use object properties and method defined for Ext.form.Field.Text. Delphi side properties and methods won't be available on client side."...
  15. Hello, Can you please specify which edition of UniGUI are you using?
  16. Hello, Sorry, can you please specify which edition of UniGUI are you using?
  17. procedure TMainmForm.UnimButton1Click(Sender: TObject); begin UnimHTMLFrame1.JSInterface.JSCode( 'var selEl = '#1'.element.select("#company-list").elements[0];'+ 'if (selEl) {'+ ' var opt = document.createElement("option");'+ ' opt.appendChild(document.createTextNode("New Company"));'+ ' opt.value = "newco1";'+ ' selEl.appendChild(opt);'+ '};' ); end;
  18. Hi, JS Code for example: var selEl = MainmForm.UnimHTMLFrame1.element.select('#company-list').elements[0]; if (selEl) { var opt = document.createElement('option'); opt.appendChild(document.createTextNode('New Company')); opt.value = 'newco1'; selEl.appendChild(opt); }
  19. Try this approach for now. UniServerModule -> CustomCSS: #messagebox-1001-msg { color: black; }
  20. Sherzod

    TuniEdit Styling

    1. CustomCSS: .customEdit .x-input-el{ text-align: center; } 2. procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimEdit1.Alignment := taCenter; UnimEdit1.JSInterface.JSConfig('userCls', ['customEdit']); end;
×
×
  • Create New...