Jump to content
uniGUI Discussion Forums

Sherzod

Moderators
  • Content Count

    8761
  • Joined

  • Last visited

  • Days Won

    230

Everything posted by Sherzod

  1. Sherzod

    UrlReferer Setup

    OK..
  2. Sherzod

    UrlReferer Setup

    Hello, Here's what you need to know for starters I think: https://en.wikipedia.org/wiki/Domain_Name_System
  3. Sherzod

    PageSize Extension for UniDBGrid

    Hi, Which build are you using? Can you make a simple testcase for check?
  4. Hi All! PageSize Extension for UniDBGrid: How to use? 1. Download the file from here https://github.com/loiane/extjs4-ux-paging-toolbar-resizer/blob/master/ux/PagingToolbarResizer.js and copy to the directory /files/ 2. Add CustomFiles in UniServerModule: files/PagingToolbarResizer.js 3. Add beforerender function in UniDBGrid: function beforerender(sender, eOpts) { if (sender.pagingBar) { sender.pagingBar.hide(); sender.pagingBar.border = "0 none"; sender.pagingBar.destroy(); sender.addDocked( {dock: 'bottom', items: [Ext.create('Ext.PagingToolbar', { pageSize: sender.store.pageSize, store: sender.store, displayInfo: true, plugins: Ext.create('Ext.ux.PagingToolbarResizer',{displayText: 'Records per Page', options : [ 5, 10, 15, 20, 25 ]}) })] }); } } http://loianegroner.com/extjs/examples/extjs4-ux-paging-toolbar-resizer/ Sincerely.
  5. Sherzod

    UniGui and Javascript

    You can also analyze these examples: \FMSoft\Framework\uniGUI\Demos\Desktop\CustomControl-xx
  6. Sherzod

    UniGui and Javascript

    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; ...
  7. 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.
  8. Sherzod

    Roadmap

    Hello, Remind, what features do you want?
  9. Make a simple testcase if possible.
  10. Sherzod

    UniGui and Javascript

    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."...
  11. Sherzod

    UniFileUpload Error Status = 404

    Are you using trial edition?
  12. Sherzod

    UniFileUpload Error Status = 404

    Hello, Can you please specify which edition of UniGUI are you using?
  13. Sherzod

    isapi server error 500 in apache

    Hello, Sorry, can you please specify which edition of UniGUI are you using?
  14. Sherzod

    UniHTMLFrame how to access component on the Frame

    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;
  15. Sherzod

    UniHTMLFrame how to access component on the Frame

    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); }
  16. Sherzod

    Uni aqua theme error

    Try this approach for now. UniServerModule -> CustomCSS: #messagebox-1001-msg { color: black; }
  17. 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;
  18. Sherzod

    TuniEdit Styling

    You meant TUnimEdit, but said TUniEdit.
  19. Sherzod

    How to make round corner for UniPanel?

    Please replace in CustomPack5.dpk: requires rtl, vcl, uniGUI25, uniTools25, uIndy25, vclimg, vclie, VclSmp, vclx, vcldb, dbrtl;
  20. Sherzod

    How to make round corner for UniPanel?

    Are you using Rad Studio 10.2 Tokyo?
  21. MainForm.MyFrame1, используйте без MainForm: MyFrame1.setPosition...
  22. Sherzod

    How to make round corner for UniPanel?

    This is a custom control, you must first install it.
  23. Sherzod

    TuniEdit Styling

    Make a simple testcase if possible. I couldn't reproduce.
  24. Sherzod

    TuniEdit Styling

    UniEdit -> Alignment = taCenter ?
×