
skafy
uniGUI Subscriber-
Posts
216 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by skafy
-
I left .exe file inside. Now should be OK. UniGuiTestCase.zip
-
ok I0ve made it. http://wikisend.com/download/785338/UniGuiTestCase.zip just add another record and you'ill see
-
Enyone tried it ?
-
How would it be correct?
-
Far better solution.
-
Any other options?
-
Hi, I've managed to create testcase. http://wikisend.com/download/975304/UniGuiTestCase.zip
-
last from yesterday (1.0.0.1399)
-
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.
-
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.
-
I thing database POST_EVENT would be one way to do it.
-
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;
-
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.
-
Here it is TUniURLFrame.zip
-
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)
-
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);
-
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.
-
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?
-
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?
-
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!