Jump to content

EDOM

uniGUI Subscriber
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by EDOM

  1. It’s working now, thank you very much for your prompt response.
  2. Hi Sherzod, I've tried the method you provided, but it didn't work. MenuButton.zip
  3. Hi Sherzod, The problem has been solved. same window and hide parameter UniSession.AddJS( 'var f=document.createElement(''form''); '+ ' f.style.display=''none''; '+ ' f.action='''+sURL+'''; '+ ' f.method=''post''; ' ' f.innerHTML=''<input type="hidden" name="PARAMETER_NAME" value="PARAMETER_VALUE"/>''; '+ ' document.body.appendChild(f); '+ ' f.submit(); ' ); thank you for the information.
  4. Thank you for your prompt reply This method can hide parameters but the page will be show in a new window. How to implement this method in the original window?
  5. Hi Farshad, Is it possible to hide paramter in this functioin UniSession.UrlRedirect('http://www.google.com/SingleSignon.do?key=UjJsZ3p4Z0xnSmRHL2tBT2MxW');
  6. When I click "Send" button, chrome will pop up this message. Can I disable it ? procedure TfrmPhoneBook.btnEmailClick(Sender: TObject); begin inherited; if UniDBEdit_Email.Text <> '' then begin UniSession.AddJS('window.location.href="mailto:'+UniDBEdit_Email.Text+'"'); end; end;
  7. When I run this code the browser pops up message "Leave site? changes you made may not be saved." Is there a way to stop this window from popping up? UniSession.AddJS('window.location.href="mailto:'+UniDBEdit_Email.Text+'"');
  8. I put several UniURLFrames on the screen and want to implement page data from external websites These pages require prior login How do I implement this function, after executing single sign-on, all UniURLFrames can be displayed normally without login again The old .ASP code is written as follows <body> <div class="widget-content"> <iframe name=I10 frameborder=0 height=160 src="http://xxxx.com/ehr/index/birthday.asp" width=100%></iframe> </div> <div class="widget-content"> <iframe name=I20 frameborder=0 height=160 src="http://xxxx.com/ehr/index/visitor.asp" width=100%></iframe> </div> <FRAMESET ROWS="0,0,0,0" FRAMEBORDER="0" BORDER="0"> <!-- single sign-on --> <FRAME NAME="hrmportal" SCROLLING="no" NORESIZE="yes" SRC="http://xxxx.com/ehr/login.asp?employee_id=<%=Session("employee_id")%>"> </FRAMESET> </body>
  9. Yes Is this feature only supported mobile? The dial keypad( InputType -> tel) can be displayed normally, I think the decimal is also.
  10. Hi Sherzod type manually and still doesn't work decimal.zip
  11. Hi x11 I try to install latest version (v1.90.0.1555) of uniGUI but I still cann't find decimal options ?
  12. I put an UniNumberEdit on the form for body temperature data collection numeric keyboard with decimal can make input more convenient.
  13. I try add this code on UniFormCreate, but doesn't work (uniEdit1 as IUniJSInterface).JSConfig('inputType',['decimal']); Please help
  14. I am RadCORE project user Realize responsive web design on UniGUI platform Amazing!
  15. Hi Sherzod, Thank you very much, it works perfectly!
  16. Hi Sherzod, Thank you for all the good advice you have given me. I am looking forward to hearing from you.
  17. Hi Sherzod, Thank you for the prompt reply. Your solution can handle Download & Ctrl+S event without problem. I try to add the events to Print & Ctrl+P but failed in Ctrl+P (click toolbar print button can detect) Could you please help to check on this issue. var me = sender; me.saveLog_download = function() { console.log("Download..."); //ajaxRequest... ajaxRequest(sender, "Download", ["action=dwonload"]); }; me.saveLog_print = function() { console.log("Print..."); //ajaxRequest... ajaxRequest(sender, "Print", ["action=print"]); }; me.attachLogEvents = function() { //Download me.iframe.contentDocument.getElementById('download').addEventListener('click', me.saveLog_download); me.iframe.contentDocument.getElementById('secondaryDownload').addEventListener('click', me.saveLog_download); //Print me.iframe.contentDocument.getElementById('print').addEventListener('click', me.saveLog_print); me.iframe.contentDocument.getElementById('secondaryPrint').addEventListener('click', me.saveLog_print); $(me.iframe.contentDocument).bind('keydown', function(e) { if (e.ctrlKey && (e.which == 80)) { //<-- didn't work me.saveLog_print(); } }); };
  18. Hi Sherzod, For security issue, I should keep logs when user have permission to download or print file How can I detect when user triggered download and print event in UniPDFFrame ? include clicked toolbar menu and use shortcut (Ctrl+P & Ctrl+S) Thank you very much and looking forward to hearing from you.
  19. Hi Sherzod, It works, thank you for your kind assistance!
  20. It can hide Toolbar button(print/download) in FrameLoaded event but how can I prevent user use Ctrl+P to print and Ctrl+S to download PDF from UniPDFFrame procedure TUniFrame_Employee.UniPDFFrameFrameLoaded(Sender: TObject); begin //Hide download button UniSession.AddJS (UniPDFFrame_Cert.JSName + '.iframe.contentWindow.document.' + 'getElementById ("download").style.display = "none"'); UniSession.AddJS (UniPDFFrame_Cert.JSName + '.iframe.contentWindow.document.' + 'getElementById ("secondaryDownload").style.display = "none"'); // Hide print button UniSession.AddJS (UniPDFFrame_Cert.JSName + '.iframe.contentWindow.document.' + 'getElementById ("print").style.display = "none"'); UniSession.AddJS (UniPDFFrame_Cert.JSName + '.iframe.contentWindow.document.' + 'getElementById ("secondaryPrint").style.display = "none"'); end;
  21. When read PDF file error, PDF viewer will show "Missing PDF file." and the "More Info" button The button for "more info" will show the full path of the file, and I want to hidden this information. But I have tried it out, with this code can hide the "More Info" button UniSession.AddJS (UniPDFFrame_Cert.JSName + '.iframe.contentWindow.document.' + 'getElementById ("errorShowMore").style.display = "none"');
  22. Is there a way to hide moreInfoButton
×
×
  • Create New...