Jump to content

skafy

uniGUI Subscriber
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by skafy

  1. I left .exe file inside. Now should be OK. UniGuiTestCase.zip
  2. ok I0ve made it. http://wikisend.com/download/785338/UniGuiTestCase.zip just add another record and you'ill see
  3. Enyone tried it ?
  4. How would it be correct?
  5. Far better solution.
  6. Any other options?
  7. Hi, I've managed to create testcase. http://wikisend.com/download/975304/UniGuiTestCase.zip
  8. last from yesterday (1.0.0.1399)
  9. Hi, Is it possible for dbgrid row editing to hide some edit cells when dbclick on row. Now when i load dataset before showing form I hide first three columns. (some id columns). Then When I dbclick on row it begins showing cells for those hidden columns.
  10. If you are using firebird u have post events. In one application u fire the event and in seconde you listen to this event. when 1st application fire the event and the 2nd one cache it you would call sth like UniSession.AddJS('window.open(''https://support.wwf.org.uk'', ''_blank'');'); // to open a new window/tab I goues that would work for firebird. If you have some other DB behind check theirs events.
  11. I thing database POST_EVENT would be one way to do it.
  12. Yes LoginForm is created per client. But you could use cookies to remember username and password.
  13. I've updated and try it. It does not work. my code now is: procedure TMainForm.UniFormCreate(Sender: TObject); begin URLFrame.JSInterface.JSCode('try {var _img='#1'.iframe.contentWindow.document.images[0]; if (_img){_img.style["max-width"]="100%"; _img.style["max-height"]="100%";}} catch(e) {};'); end; procedure TMainForm.btnImageClick(Sender: TObject); begin ShowAttachment('Example.png'); end; procedure TMainForm.btnPDFClick(Sender: TObject); begin ShowAttachment('3.pdf'); end; procedure TMainForm.ShowAttachment(AFileName: string); begin URLFrame.HTML.Add('<iframe style="border:none;background-repeat:no-repeat;background-sizecontain;background-image:url(/files/' + AFileName +'?fake='+ DateTimeToStr(Now) +'");"></iframe>') end;
  14. What unit need to add in namespace for JSIntergface. For now it is [dcc32 Error] Main.pas(51): E2003 Undeclared identifier: 'JSInterface' I'm using 0.99.96.1343 version.
  15. Here it is TUniURLFrame.zip
  16. ooowww. hidden motherf****
  17. I cant figure it out how to add attachment. There is no where add attachment button. I've searched it all o.O. Basiclly what I want is to be able to insert image in TUniUrlFrame so that it fits. (I've tried width:100%;height:100% (no result)). But if I insert image with this URLViewer.URL:= '/cache/Workflow_exe/' + CacheFolder + '/' + Node.Text +'?fake=' + DateTimeToStr(Now); it shows image, but it also show picture in its natural scale, scrollers appear. I want insert image in TUniURLFrame so it fits (without scrollers)
  18. hi, how can i load picture into TUniURLFrame? I tried next those two dont work URLViewer.HTML.Add('<img src="/cache/Workflow_exe/'+ CacheFolder + '/' + Node.Text +'?fake='+ DateTimeToStr(Now) + '" style="width:100%;height:100%">') //DONT WORK URLViewer.HTML.Add('<iframe style="width:100%;height:100%;border:none;background-repeat:no-repeat;background-sizecontain;background-image:url(/cache/Workflow_exe/'+ CacheFolder + '/' + Node.Text +'?fake='+ DateTimeToStr(Now) +'");"></iframe>') //DONT WORK This one is working but sizes of picture are two big. scrollers appear. URLViewer.URL:= '/cache/Workflow_exe/' + CacheFolder + '/' + Node.Text +'?fake=' + DateTimeToStr(Now);
  19. I've managed to fix it. Problem occured because I had the ServerModule port and SSL port the same. I fix it with change it so Port is 80 and SSL Port is 443.
  20. skafy

    Client username

    I've managed to fix it. Problem occured because I had the ServerModule port and SSL port the same. I fix it with change it so Port is 80 and SSL Port is 443.
  21. skafy

    Client username

    Now when I applied SSL for HTTPS connection with certificate I'm having same problem as before. "Automation server can not create object". Does enybody know why is this happening?
  22. Farshar please help!
  23. I'm having a problem with ActiveX in IE and SSL connections. I have ActiveX code for recognizing logged users who uses IE. Now I want to be able to open application to outsite word (inported certificate) and application seems to be working fine. But insted when I logged in through IE my pc name is not recognized. I use this snippet for recognition in MainForm function form.afterrender(sender, eOpts) { var WinNetwork = new ActiveXObject("WScript.Network"); ajaxRequest(sender, 'UserDetailsEvent', ['UserName='+WinNetwork.UserName]); } Is there a known fact that that SSL and ActiveX dont fit?
  24. Hi, Is there any mobile component that looks very much alike List but it is searchable? What I would like is ComboBox of style Drop-Down. So text can be inserted and List get shorter. Best regards!
  25. When approximately would that be? Thanks for your reply.
×
×
  • Create New...