-
Posts
39 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by DoiSuthep
-
I have situation where I would like to save silently some cookies for default browser. With certain QueryPamams I save cookies and terminate application in UniGUIMainModuleBeforeLogin: UniSession.UniApplication.Terminate('<script>window.top.close()</script>'); But it is not allowed to close browser tab/window. Instead redirect there works like below but it is not silet as I wish: UniSession.Terminate('<script>window.location.href = "http://google.com";</script>'); Is there a way to close browser window or other ways to save cookies silently?
-
Thanks Hayri for fast answer. It is working now.
-
Strange, I still can download it. Well, I uploaded it to GoogleDrive also here: https://drive.google.com/open?id=0B6zkR2oKE8NsNjFWM0xaSjFGd0k
-
Test case here. Working in form but toggle is not fired in frame: http://sansaisolutions.linkpc.net:8000/portal/apis/fileExplorer/share_link.cgi?link=P/AtG1mO1OV6HTObnDuhS0
-
Hi, TUniSpToggle does not fire Toggle-event when it is placed on uniPanel, which is on uniFrame. Is there some tricks we can make it to work on uniFrame also?
-
Hi, Has anyone been able to retrieve widows client username without ActiveXObject. I am looking for something not IE-only restricted. My web Server is IIS 8.
-
Thanks for the answer Delphi developer. That was almost what I was trying to do. It removed left, right and bottom border but top border still remains. Anyway your approach is useful also (before I didn't understand to select tabPanel as you pointed in screenshot). Reading forum (this and other pages) I was able to remove borders by: 1. Creating customCSS .myNoBorderCSS .x-panel-body-default { background: #ffffff; border-color: #ffffff; color: black; border-width: 0px; border-style: solid; } 2. adding cls in ExtJS-events function added(sender, container, pos, eOpts) { sender.addBodyCls('myNoBorderCSS'); } I also hide UniPageControl header by: UniSession.AddJS(Format('%s.items.getAt(0).tabBar.hide();', [PC.JSName])); All working well except that tab panel height will be too small (= - header height), but that does not disturb me so much.
-
I can remove PageControl header by first mentioned HideUniPageControlHeader but still haven't bee able to hide frame. So how to hide PageControl border/frame?
-
Maybe UniServerModule->AutoCoInitialize->True helps. Check also: http://forums.unigui.com/index.php?/topic/2804-ldap/?hl=coinitialize&do=findComment&comment=12937
-
Hi, You just need to initialize COM library by: Coinitialize(nil) Google "coinitialize(nil) delphi" for more info.
-
Thanks Aslan, UniSession.AddJS('$.noty.closeAll()'); CloseAll works fine. Farshad, Do you have any hint about SweetAlert Jsname-issue? Hannu
-
Hi Aslan, Another question also. TUniSpNoty: How should I close all currently visible notifications programmatically (not waiting user interaction)? Regards, Hannu
-
Hi, I was trying to implement common TUniSpSweetAlert-based messagebox to datamodule and other unigui-forms where suppose to call that MessageBox-procedure. MessageBox is displayed but buttons in messagbox are not working. Placing TUniSpSweetAlert-component directly to unigui-form works ok. Do you have any suggestions, Can I pass form-information somehow and use common messagebox ? Regards, Hannu Hilanne
-
I have been wondering also how can be trial-needs to build production environment (sessions, themes..) for a long time Normally trial is only for limited time to evaluate product if it can be used for development needs . Farshad is giving more than that already.
-
Hi, URLParamsDemo should present needed solution. You can use UniApplication.Parameters.Values['database] from your sample url
-
Thanks; I found now the correct email. I was filtering unigui-mails, but there was no unigui word. Searching by FMSoft helped. Login OK now.
-
Hi, I can't login any more to FMSoft Customer Portal: https://prime.fmsoft.net/userv/mportal.dll Forum and access to older (0.96) customer area http://prime.fmsoft.net/userv/userv.dll are working ok. I tried to change psw also, but still same issue.
-
Thank you for sharing. I have been preparing for one communication solution intending to use uniGUI in it. There will be AD-integration needs also. This is very useful to study these. I was able to compile it also... no problems. Thanks again!
-
Very nice! Just extract to my server and it's working. Are you able to share the code also?
-
But as so often... Crome shows theme correctly. IE not.
-
Hi, You can change it directly in Delphi GUI also: just open mainmodule.dmf properties.
-
Hi, Same thing I have been searching for... but I couldn't find much information about this yet. So I just started to experiment and got some results also.. now I can use yellow-style as I wanted Here is how I did it: - Downloaded themes to experiment from https://market.sencha.com/extensions/clifton-theme - extract zip to C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.1.1a\resources - copy clifton-yellow.css to C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.1.1a\uni\css - rename clifton-yellow.css to uni-xtheme-yellow.css - Change Theme in unimainmodule.dmf (object UniMainModule: TUniMainModule Theme = 'yellow') -> And suddenly all blue changed to yellow. Also I got some other better result: i.e. speedbutton color: I can use colour-property now by selecting right colour or using clBtnFace (=comes from theme) And you are right... great product! Even I can now do some web based development DoiSuthep