Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12126
  • Joined

  • Last visited

  • Days Won

    811

Everything posted by Farshad Mohajeri

  1. Not sure what can be done about it. Gregorian date is used internally by both Ext JS and Delphi and this can not be changed. You must convert date when it is displayed but all these must be implemented in JS. i.e. you need a JS code which converts Gregorian date to Persian date. Also date must be converted back to Gregorian when it is sent back to the server.
  2. To MainForm.Scrpits add: Ext.override(Ext.DatePicker, { initComponent: Ext.DatePicker.prototype.initComponent.createInterceptor(function() { this.plugins = [Ext.ux.JalaliDatePlugin]; return(true); }) }); To ServerModule.CustomFiles add files\Jalali\Jalali.js files\Jalali\JalaliDate.js files\Jalali\JalaliDatePlugin.js files\Jalali\JalaliDatePlugin-fa_IR.js This will change all DatePicker instances in your app to jalali calendar.
  3. Yes, there are many files that never used!
  4. Yes, event is only called for MainForm.
  5. Hi, Are those events regular Delphi events. What is the mechanism you use to propagate events between sessions? In uniGUI you should be able to register events like you do in a VCL app. When event is received this does not automatically refresh DBGrid. You must call UniDBGrid.Refresh yourself. However, UniDBGrid.Refresh should be called only in a browser generated event. For this you need to use a UniTimer which will poll server once a while (say once per 30 secs). When trigger is called you must set an internal flag. When timer event is called, if flag is True you will clear the flag and call Grid.Refresh. This method is not very efficient because it will call refresh only on each timer tick not sooner.
  6. Seems to be related to issue #0000882
  7. OK. I will test this case. Logged #1114
  8. Does it happen only when number of rows in detail does not change? I mean when you navigate from one master row to another detail data changes but number of rows remains the same.
  9. Hello, Are you referring to Win32 Handles?
  10. There is a logged issue when Grid is on an invisible TabSheet. Can you easily reproduce this? What are the steps?
  11. Easy! Right click on your page and select View Source. <link rel=stylesheet href="ext-3.3.0/resources/css/uni-ext.css" /> <link rel=stylesheet href="ext-3.3.0/resources/css/ext-all.css" /> <script src="ext-3.3.0/adapter/ext/ext-base.js"></script> <script src="ext-3.3.0/ext-sync-1.3.1-min.js"></script> <script src="ext-3.3.0/ext-all.js"></script> <script src="ext-3.3.0/examples/ux/ux-all.js"></script> <link rel=stylesheet href="ext-3.3.0/resources/css/xtheme-blue.css" /> <link rel=stylesheet href="ext-3.3.0/examples/ux/css/ux-all.css" /> <style>body { background: #004080; }</style> <script src="ext-3.3.0/codemirror-0.8/js/codemirror.js"></script> <link rel=stylesheet href="ext-3.3.0/codemirror-0.8/css/csscolors.css" /> <script src="ext-3.3.0/codemirror-0.8/js/Ext.ux.CodeMirror.js"></script> <script src="ext-3.3.0/ext-unigui-1.3.1-min.js"></script> You can see files that are used by your particular app which is almost the same for all uniGUI apps. Note1: CSS themes loads lots of images so you must deploy the images folder too. Note2: If you use syntax highlighter then codemirror folder must be fully deployed.
  12. Build 889 uploaded. 0.86.0.889 +---------------------------------------------------------------------------------------- - 0001100: Form Icon is Visible when biSystemMenu is not set - 0001059: Call CallBack for all dialog types - 0001113: For touch enabled devices touch events replace mouse events. - 0001108: VCL: TabStop problem when control parant is TUniTabSheet. - 0001106: Critical bug when adding cutsom files - 0001107: UniGUISession.AddCustomFile property - 0001105: TUniDBGrid.Refresh method implemented (Workaround for issue 0000882) - 0001097: Google Maps sample - 0001020: Custom meta tags. - 0001104: UniGUIServerModule.CustomCSS property - 0001093: Proper handling of "//" in JS code - 0001095: UniRadioButton: Change Caption at runtime - 0001089: DateTime conversion issues when system date format is M/d/yyyy - 0001088: UniCalendarPanel: Date change doesn't reflect hidden views - 0000965: Error when OS date fomatUniDateTimePicker.DateFormat - 0001086: UniDBGrid: Column count is zero immediately after DataSet.Open - 0001085: UniDBGrid: Auto column creation logic improved - 0001084: TUniSpeedButton Click bug - 0001082: TUniForm: Property MonitorScreenResize added - 0001078: DblClick event for additional controls implemented - 0000538: UniDBGrid: Resized columns are reset when grid is refreshed. - 0001076: Option to remove UniDBGrid thin column on the left (dgIndicator) - 0001064: UniDBGrid: Change UniColumn.Title.Caption after Columns are created - 0001077: UniDBGrid: Change Column.Width at runtime. - 0000591: Cursor property for web - 0000966: TUniImage: OnMouseOver event - 0001062: Destroying UniControl doesn not destroy child UniFrames - 0001065: TUniDBDateTimePicker: Bug when Dataset is closed. - 0001068: TUniChart moved to a separate package - 0001071: Calling server side event handlers from client side ajax request - 0001070: Integration of Ext JS events in TUniControl and TUniComponent - 0001069: Advanced IDE support for client side event scripting - 0001072: Delete Form/Frame JS objects after destroy - 0001074: Extended Mouse and Click events for all Controls - 0001073: UniCalendarPanel: OnDayClick in DayView bug - Four new demos: ClientEvents-1, ClientEvents-2, ClientEvents-3, ClientEvents-4 - New Demo GoogleMaps
  13. My tests show that signing using finger is very difficult! Are you going to use a pen enabled device?
  14. I don't like iPhones, but it is another area where iPhone beats by quality! Unfortunately there is no Safari for Android.
  15. Mobile world needs time to settle standards. The funny thing is that Android built-in browser has the worst HTML5 implementation. Something that you won't expect from Google who claims Android browser engine is based on Chromium library.
  16. Yes, you can modify templates before you exit but this will affect all other sessions too since they all share same template. My solution will be: UniApplication.Terminate('Message');
  17. The Ext JS license terms are stated in uniGUI License agreement. Yes, we may need to make it more visible.
  18. It depends on the fix. If it is an easy fix then I will include it.
  19. It may be possible but only after we switch to Ext JS 4.
  20. Here is a quick port of our canvas demo adopted for mobile browsers: To my surprise Android's default browser has a very bad HTML5 implementation and performance. Some important HTML5 functions seems to be unimplemented. If you want to do anything useful with this demo download and install Opera for Android. For unknown reasons Load doesn't work. Save function works under Opera but not under default browser.
  21. Second "viewport" seems to be unnecessary. It is OK to remove. BTW, it was Google knowledge. Original source here: http://garrows.com/?p=337
×
×
  • Create New...