AppStop - method of the Pm object
Termination of the application.
Empty AppStop(Variant nMode)
|nMode||(Variant) Type of termination
0 (default) - Termination of the application including the contingent confirmation window.
1 - Termination of the application without the contingent confirmation window (guaranteed termination of the application).
Termination of the running application of the PROMOTIC system.
By calling this method, the PmaRoot.onAppStopBegin
event is triggered.
The method is executed only if the "PmaRoot > Permissions > AppStop
" permission is fullfiled.
This method is also functional in Web panels
. But only for InternetExplorer
(is not functional for Chrome
...) The method closes the Web browser.
Termination and new starting of the running application (the self) by the utility RunLater
Pm.ShellExecute("", "c:/Promotic/Tools/RunLater/RunLater", "/t=10 /f=C:/Promotic/Pm90021/Bin32/PromoticRt32.exe /p=" + Pm.AppFullName + ".pra", "", 1);