Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Close window (page)

 Post Reply Post Reply
Dino Gomezel View Drop Down
Senior Member
Senior Member

Joined: 27 Aug 2018
Posts: 100
Post Options Post Options   Quote Dino Gomezel Quote  Post ReplyReply Direct Link To This Post Topic: Close window (page)
    Posted: 14 Nov 2019 at 8:08am

I have a button "Close" on my form. How can I make it close the page in the browser?

I tried
(No error, but not working)

(This also produces an error "Scripts may close only the windows that were opened by it" in the broeser console)

But doesn't work.
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support

Joined: 18 May 2010
Posts: 2192
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 14 Nov 2019 at 9:27am

You can use "Close;" for a form that was displayed from code.

Can you please have a look at the Demo/Basics/MultiForm application for an example?
The demos are included with the TMS Web Core download.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down