Close window (page)

Ji!


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

I tried

self.Close;

(No error, but not working)


window.close();

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

But doesn't work.

Hi,


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.