Jump to content

MOGSY

Members
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MOGSY

  1. MOGSY

    HyperServer

    Thank you Andy, I have tried your code, however it is the same. The standalone exe works fine it is when run with hyperserver is not running. Regards
  2. MOGSY

    HyperServer

    Hi My standalone app works on localhost, however when running with HyperServer it fails with error message "Could not bind socket". Attached are the log files. I have updated the UniGUi to the latest version "uniGUI - v1.90.0.1545". What could be the reason? Regards A2021-02-14.log A2021-02-14.log A2021-02-14.log A2021-02-14.log
  3. MOGSY

    TuniTimer

    Hi No, there is no error at all. If the localhost used then it takes longer for the timer to stop firing. I would like to show you what happens if you can spare few moments. Regards
  4. MOGSY

    TuniTimer

    Hi I have a TuniTimer which stops firing after few minutes. The timer is enabled but the ontimer event is not called. I have set chainMode to true. The timer in running in a TuniFrame. OnTimer event queries couple of tables and updates unidbgrid and stringgrid. UniGui version 1.90.0.1543. Any suggestion what may cause this behaviour? Regards
  5. Hi self.Parent.Broadcast(aParam); There is method to broadcast message to parent of a Frame. Has anyone have an example of how to use it and receive the message at parent. Thank you Regards.
  6. MOGSY

    UniPageControl

    Hi Farshad / Sherzod To call function on UniHTMLFrame is it different to UniURLFrame?. I was using the following for UniURLFrame but is not working on UniHTMLFrame. UniHTMLFrame1.JSInterface.JSCode(#1'.iframe.contentWindow.showLocationOnMap'+ format('("type,description,job,orange,true", "%S,%S");',[pLatitude, pLongitude]));} Regards
  7. MOGSY

    UniPageControl

    Hi Farshad Thank you for your help. I have two more issues with this. 1- I woud like to change the parent of the UniURLFrame from one page to other, so the same map displayed with different other information. Changing the parent makes the map disapear. 2- I also get the following error ext-all.js:20 Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8077/HandleEvent': Synchronous XHR in page dismissal. See https://www.chromestatus.com/feature/4664843055398912 for more details. at ctor.start (http://localhost:8077/ext-7.0.0/build/ext-all.js:20:194210) at ctor.request (http://localhost:8077/ext-7.0.0/build/ext-all.js:20:203291) at ctor.request (http://localhost:8077/uni-1.90.0.1539/ext-sync-min.js:9:11497) at _ajaxRequest_ (http://localhost:8077/uni-1.90.0.1539/ext-unicommon-min.js:9:4844) at ajaxRequest (http://localhost:8077/uni-1.90.0.1539/ext-unicommon-min.js:9:3966) at _cunld_ (http://localhost:8077/uni-1.90.0.1539/ext-unicommon-min.js:9:11087) at http://localhost:8077/:41:46 regards
  8. MOGSY

    UniPageControl

    Hi Sherzod Thank you very much for your email. The problem is UniHTMLFrame is the same code for some reason is not working. Attached project has the same code in UniHTMLFrame, typing anything in the search box produces nothing. but the map remain on screen which is good. Regards ServerModule.zip
  9. MOGSY

    UniPageControl

    Hi try to use UniURLFrame on UniPageControl, The content will display first, however changing page will cause the content of the UniURLFrame to disappear. I have included a test project. Would appreciate any clues why and how to fix it please. Regards Main.zip
  10. Hi Sherzod / Farshad excellent, sorted, thank you.
  11. Hi Sherzod / Farshad Is it possible to implement Ajaxrequest fot uniURLFrame? The issue I have the same code that works good on browser however using uniURLFrame is partially working the map works and the search is good except I can't send result back to UniGui. The same code in uniHTMLFrame doest work although it displays the map the search is not working. If Leaflet map also initialized at the same time as the UniHTMLFrame, then uniHTMLFrame works 100% and everything works well except there is an error from google complains about two maps. It appears that UniHTMLFrame requires some additional initialization which I don't know. Is it possible to advise how can I solve this problem. We are so close but need a little magic from UniGui support. Regards and many thanks for your support.
  12. Hi Appreciate help with a problem using URLFrame or HTMLFrame. Trying to use google search, using URLFrame, search works good but the AjaxRequest not working, HTMLFrame search is not working however AjaxRequest work OK. Appreciate help in sorting any solution. Please find attached a test app. urlFrameLink.zip
  13. MOGSY

    UniURLFrame

    HI That is correct and the line is var URLFrame = Ext.getCmp('_URLFrame'); The space is not showing for some reason here. Same code works fine in UniHTMLFrame, however in UniURLFrame the "Ext" is not defined. Regards
  14. MOGSY

    UniURLFrame

    Hi Fredrik What you mean by 'You need a space in varURLFrame'? Regards
  15. MOGSY

    UniURLFrame

    Hi Larsson Thank you for your reply, The issue I have it seems it not understanding the "Ext" and can not resolve the reference to sancha.
  16. MOGSY

    UniURLFrame

    Hi How is possible to send the ajaxrequest from the HTML in uniURLFrame. It is giving errr on "Ext". How should be the function to post request from the uniURLFrame? If url used how the site should send the ajaxrequest? function sendRequest(data) { console.log(data); varURLFrame = Ext.getCmp('_URLFrame'); var params=[]; params = ["val="+JSON.stringify(data) ]; if (params.length > 0) { ajaxRequest(URLFrame, 'eventName', params); } } Thank you.
  17. MOGSY

    UniURLFrame

    Hi How is possible to send ajaxRequest from UniURLFrame? Regards
  18. MOGSY

    Invalid URI: /m

    The issue was ESET anti-virus
  19. MOGSY

    Invalid URI: /m

    Hi I have an app which is running good on some PC's, however on customer PC's it get stuck on loading. I am connecting with http://localhost:6077/m, however it is compaling about invalid URI. Any suggestions what may be the issue? TaxiButler.exe: 00000DBC: 11:55:34 []:>--------------------------------------------------------------< TaxiButler.exe: 00000DBC: 11:55:34 [TUniServerModule]:Server First Init. TaxiButler.exe: 00000DBC: 11:55:34 [TUniServerModule]:Starting HTTP Server on Port: 6077... TaxiButler.exe: 00000DBC: 11:55:34 [TUniServerModule]:HTTP Server Started on Port: 6077 TaxiButler.exe: 00000F90: 11:56:04 [127.0.0.1]:EUniSessionException : Invalid session or session Timeout. (Invalid URI: /m ) : Addr: $0079445A TaxiButler.exe: 00000F90: 11:56:04 [HandleFileRequest[127.0.0.1]]:File not found: C:\Users\Administrator\Desktop\CloudServer\favicon.ico regards
  20. I have attached two here webcam.7z www.unigui.com.br-Capture Image.rar
  21. The camera samples on forum works on desktop not mobile.
  22. Hi How is possible to access the camera on unigui mobile? Thank you in advance. Regards
  23. Hi How to implement tool tips for stringgrid cells? Much appreciate your help? Regards
×
×
  • Create New...