Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12121
  • Joined

  • Last visited

  • Days Won

    807

Everything posted by Farshad Mohajeri

  1. uniGUI 0.88.1 Delphi XE URL: http://localhost:8077/?button=BB&edit=华语/華語 I get same text in UniEdit1
  2. Sleep() is only used to simulate lengthy operation. For obvious reasons it is not possible to start and stop mask in server side code.
  3. It is not possible on server side. Such functionality must be developed on client side. Use client side OnKeyDown event.
  4. If both server and browser are on same PC it can be slow.
  5. Are you testing it with our URLParameters demo?
  6. If you deploy Ext JS using runtime installer then you must set ExtRoot->[ext]
  7. I really don't know. designide package has nothing to do with SynEdit_R2012 which is a runtime package.
  8. You need to build all packages starting from SynEdit_R2012. Simply call Build All command.
  9. procedure TMainForm.btnSetTextClick(Sender: TObject); begin UniSession.AddJS('tinyMCE.get("ed1").setContent('+StrToJS(UniMemo1.Text)+')'); end;
  10. It is related to way browser handle images. Some browsers clear the image place holder before loading a new one. Instead of uniImage you can use TUniCanvas to render images. It should resolve flickering.
  11. Yes, we may encode parameters internally. Logged #1290
  12. Output text must be encoded first. Modify below line: procedure TMainForm.btnGetTextClick(Sender: TObject); begin UniSession.AddJS('ajaxRequest(MainForm.form, "mce", ["text="+encodeURIComponent(tinyMCE.get("ed1").getContent())])'); end;
  13. Also, you should profile your app and find out where that 6 secs is actually spent.
  14. 2008 is more common and with more options but needs more resources. 2003 can be run with relatively lower resources. If your VPS has less than 512MB RAM, win2003 seems to be a better option. I prefer IIS over Apache for ease of management through its advance user interface..
  15. It can be fixed as soon as I can reproduce it. In your pics there are only 3 records in grid. It is very unlikely to take 6 secs to move from a row to another. Can you reproduce same thing with a grid attached to a local TClientDateset? PS: Is grid in above pic a DBGrid or a StringGrid?
  16. It worked here, but I only tested in desktop firefox.
  17. Easy: 1) Add below JS code to MainForm's Script property Ext.override(Ext.Panel, { afterRender: Ext.Panel.prototype.afterRender.createSequence(function() { if (this.getXType() == 'panel') { this._getIScrollElement = function() { return (this.el.child('.x-panel-body', true)); } } //Uncomment below to use iScroll only on mobile devices but use regular scrolling on PCs. if (this.autoScroll /*&& Ext.isMobileDevice*/) { if (this._getIScrollElement) { this._updateIScroll(); this.on('afterlayout', this._updateIScroll); } } }), _ensureIScroll: function() { if (!this.iScroll) { var el = this._getIScrollElement(); if (el.children.length > 0) { this.iScroll = new iScroll(el); this.iScrollTask = new Ext.util.DelayedTask(this._refreshIScroll, this); } } }, _updateIScroll: function() { this._ensureIScroll(); if (this.iScroll) { this.iScrollTask.delay(1000); } }, _refreshIScroll: function() { this.iScroll.refresh(); //Refresh one more time. this.iScrollTask.delay(1000); } }); Ext.override(Ext.tree.TreePanel, { _getIScrollElement: function() { return (this.el.child('.x-panel-body', true)); } }); Ext.override(Ext.grid.GridPanel, { _getIScrollElement: function() { return (this.el.child('.x-grid3-scroller', true)); }, afterRender: Ext.grid.GridPanel.prototype.afterRender.createSequence(function() { //TODO: need to hook into more events and to update iScroll. this.view.on('refresh', this._updateIScroll, this); }) }); 2) Download iScroll.js file and add it to UniServerModule->CustomFiles
  18. You can try cleaning browser cache.
  19. Among IEs only IE9 supports HTML5 audio, but apparently it doesn't work as expected. If you need complete cross browser compatibility you must use a flash plugin instead.
  20. You can set the UniServerModule->ExtLocale parameter to a proper value. 1. Yes you must implement saving column sizes. 2. I think you can achieve this by some code. 3. Possibly we can implement a similar feature it in next versions. Issue tracker is not publicly open. There are many requests to make it open. We will see. To avoid flicker your grid must be big enough to hold all its contents without a need for scroll bars.
  21. I can't reproduce it with chrome v18.0 Can you test with our mega demo: http://prime.fmsoft.net/demo/ucdemo.dll
  22. Put this in servermodule.customCss textarea { overflow:auto; } But it only works for IE.
×
×
  • Create New...