robinhodemorais Posted February 12, 2020 Share Posted February 12, 2020 where do i find the unimform jsname? I want to see if socket.io will work on mobile use formregion with the uniframe Quote ScriptJS: = 'sktAtendimento = io.connect (' '' + pIP_SOCKET_ATENDIMENTOS + '/' ', {query: "' + KeyStr + '"});' + # 13 # 10 + 'sktAtendimento.on (' 'msg' ', function (msg) {' + # 13 # 10 + 'ajaxRequest (' + FormRegion.JSName + ', "pushService", ["return =" + msg + ""])' + # 13 # 10 + '}); '+ 'sktAtendimento.on (' 'msg' ', (data) => {console.log (data);});'; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 12, 2020 Share Posted February 12, 2020 3 hours ago, robinhodemorais said: where do i find the unimform jsname? FormRegion.WebForm.JSName Quote Link to comment Share on other sites More sharing options...
robinhodemorais Posted February 12, 2020 Author Share Posted February 12, 2020 it doesn't seem to be Quote type TmfrmCliProFilaAtendimento = class(TUnimForm) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 12, 2020 Share Posted February 12, 2020 What is the name of your form? Quote Link to comment Share on other sites More sharing options...
robinhodemorais Posted February 12, 2020 Author Share Posted February 12, 2020 I was able to use only WebForm.JSName the name is mfrmCliProFilaAtendimento Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 12, 2020 Share Posted February 12, 2020 1 minute ago, robinhodemorais said: I was able to use only WebForm.JSName the name is mfrmCliProFilaAtendimento So, works? Quote Link to comment Share on other sites More sharing options...
robinhodemorais Posted February 12, 2020 Author Share Posted February 12, 2020 yes clear in parts .... didn't work on the phone, I'll open another post with an example to help me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.