Announcement

Collapse
No announcement yet.

How to close the browser window from a blank application

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to close the browser window from a blank application

    I used a SC Blank Application to create my phpexcel report that is downloaded when executed. After the execution, a blank window tab is left behind. How can i made the blank window to close? The

    Javascript command "window.close()" does not seem to work in the Blank application?

  • #2
    Hello,
    I always use sc_redir at the end of the function. Then the window is closed and SC turns to the given window...

    Best regards
    Uwe Pfeiffer

    Comment


    • #3
      i am agree with Pfeiffer, you could try with : sc_redir('the_aplication', "", "_parent");

      Comment


      • #4
        I used a SC Blank Application to create my phpexcel report that is downloaded when executed. After the execution, a blank window tab is left behind. How can i made the blank window to close?
        cotton fabric by the yard wholesale cotton fabric by the yard wholesale

        Comment


        • #5
          Hi marie, try with sc_exit();

          Comment

          Working...
          X