Jump to content

DoiSuthep

uniGUI Subscriber
  • Posts

    39
  • Joined

  • Last visited

  • Days Won

    1

DoiSuthep last won the day on February 26

DoiSuthep had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Finland

DoiSuthep's Achievements

Newbie

Newbie (1/4)

2

Reputation

  1. 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?
  2. Thanks Hayri for fast answer. It is working now.
  3. Strange, I still can download it. Well, I uploaded it to GoogleDrive also here: https://drive.google.com/open?id=0B6zkR2oKE8NsNjFWM0xaSjFGd0k
  4. 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
  5. 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?
  6. 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.
  7. 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.
  8. 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?
  9. Maybe UniServerModule->AutoCoInitialize->True helps. Check also: http://forums.unigui.com/index.php?/topic/2804-ldap/?hl=coinitialize&do=findComment&comment=12937
  10. Hi, You just need to initialize COM library by: Coinitialize(nil) Google "coinitialize(nil) delphi" for more info.
  11. Thanks Aslan, UniSession.AddJS('$.noty.closeAll()'); CloseAll works fine. Farshad, Do you have any hint about SweetAlert Jsname-issue? Hannu
  12. Hi Aslan, Another question also. TUniSpNoty: How should I close all currently visible notifications programmatically (not waiting user interaction)? Regards, Hannu
  13. 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
  14. 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.
  15. Hi, URLParamsDemo should present needed solution. You can use UniApplication.Parameters.Values['database] from your sample url
×
×
  • Create New...