Recent

Author Topic: FPCEF Prevent page from closing webbrowser  (Read 1374 times)

Luciano Andress Martini

  • New Member
  • *
  • Posts: 43
FPCEF Prevent page from closing webbrowser
« on: February 12, 2016, 03:17:49 pm »
I am dealing with a very specific issue with the browser. some parts of the site (that i will use) just open a printer dialog tab and close after. That is normal for a nominal browser. But because i am openning new tabs in the same page or window(and that is necessary for my case), the browser just close when the user try to print.

So how can i ignore the request of the page to close the browser on fpcef?

I tried a  onclose event on the object with a code that can prevent browser for closing. It works but after printing the tchromium object freezes, i think because this code in the page is unloading something before the close action of the tchromium, and i don't know where. 
« Last Edit: February 12, 2016, 03:38:28 pm by lmartini »

 

TinyPortal © 2005-2018