SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Guest

    getting rid of a new window browser

    Hi all
    When used on the web, Silk has conditions for detecting a browser: it has to have the browser URL visible as well as the icon tool bar.
    My application launches a new window(browser) from the focused browser,however, the launched browser(focused) does not have neither the URL nor the toolbar.
    How do I close the window/get rid of it when Silk does not recognize it?


  2. #2
    Guest

    Re: getting rid of a new window browser

    Even though the window does not have a toolbar nor a location bar, it's still a Browser window (child).

    To get rid of the original or the child window you need to declare them correctly, making sure they are unique in the tag field.
    To dismiss one of them, Set it Active then close it. Then set the child window active.

    BrowserWindow.SetActive () // use the declared identifier
    Browser.Close ()
    ChildWin.SetActive () // use the declared identifier


 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:33 PM.

Copyright BetaSoft Inc.