Close window (page)


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.


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.