Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12127
  • Joined

  • Last visited

  • Days Won

    811

Everything posted by Farshad Mohajeri

  1. Second "viewport" seems to be unnecessary. It is OK to remove. BTW, it was Google knowledge. Original source here: http://garrows.com/?p=337
  2. Below meta displays page in a 1/1 scale and also disables browser in-zoom/out-zoom function. It should be added to servermodule.CutsomMeta. <meta content='True' name='HandheldFriendly' /> <meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' /> Below script disables moving the page around inside the browser window. Add this to MainForm.Script document.body.addEventListener('touchmove',function(event){ event.preventDefault(); },false);
  3. I didn't have time to download and test the component but since source is included I think it should be compilable in all Delphi versions.
  4. Good job patmap! You can use additional properties in onAfterCreate or in any other client event.
  5. I got my first Android device about three months ago and I noticed that our Paint demo can't draw on a mobile Android. To resolve the auto pan problem "touchMove" event of browser must be captured and disabled: document.body.addEventListener('touchmove',function(event){ event.preventDefault(); },false); However, this is not enough. On a touch enabled device we need to implement "touch" events for UniCanvas. Mouse move events don't work here, as there is no mouse here! I'm already working on this and it may be included in next build.
  6. Select option 2 or 3. Please review Web Deployment article in below link: http://www.unigui.com/doc/online_help/index.html
  7. You can assign data to series dynamically, but Series itself should be created in design time.
  8. You can select a cursor for visual controls which support it. Any change made to cursor will be visible only when event handler is fully processed. If you want to disable user access to screen while a lengthy operation is in progress use TUniScreenMask.
  9. Parameters are those which passed in client script: google.maps.event.addListener(map, 'click', function(e) { ajaxRequest(MainForm.UniHTMLFrame1, 'mapClick', ['lat='+e.latLng.lat(), 'lng='+e.latLng.lng()]); } ); No address info is passed as parameter. You must explore maps API and if there is a function to retrieve address you can add it to parameter list and handle it on server side.
  10. It will be implemented but can't give any exact date for it.
  11. Preview window can't be shown on web side unless you implement your own preview Form in uniGUI. You can use Fast reports export functions to export your report to excel and show it inside a UrlFrame
  12. I tested Raudus once when it was version 0.7.1. Today I tried to test it again. I didn't have time to test it throughly, but I found out that there is something weird about Raudus. Its session handling model is not clear to me. If I run Sleep(5000) in one of the sessions it seems that all other sessions are blocked too! Does Raudus handle sessions using a multi-threaded model?
  13. You can consider it as a competitor!
  14. Correct usage: frxPDFExport1.FileName := UniServerModule.LocalCachePath + rptfile+'.pdf';. . . . UniURLFrame1.URL := UniServerModule.LocalCacheURL + rptfile+'.pdf';
  15. Give full access to built-in account IUSR for folder "C:\inetpub\wwwroot\GoogleMaps\cache\"
  16. Thanks for info. I can't say anything fast will happen on C++ side, but I will try to start some initial tests next week.
  17. I'm sure that I've forgotten many other things too. Today I was quite busy and couldn't focus on details. Tomorrow I will revise blog post and make necessary additions.
  18. Xtraordinary Hosting is a company based in UK. They provide dedicated and VPS hosting solutions for both Windows and Linux platforms. uniGUI web site is hosted here. I'm very pleased with their uptime and server performance. Their prices are also very competitive. Their servers are completely self-service which means there are no control panel or web management. It is only you and your server which you can access using terminal services. For me control panel is not a must, as I can do whatever I want using server management interface including running my own name server. PS: I'm not affiliated with Xtraordinary hosting company in any way. This post is simply a recommendation not a warranty for quality of their services. Do your own research before making decision.
  19. You want to modify the application DLL or files that are in use by your app which one?
×
×
  • Create New...