Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AppQuit - method of object Pm

Description:
Termination of the application.
Syntax:
AppQuit(nMode As Variant)
Calling:
Pm.AppQuit nMode
Parameters:
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)
Note:
The method serves to terminate the application. If a development license is present, the application won't be opened in the editing mode.

By calling this method, the PmRoot.onAppStopBegin event fires.

The method is performed only when the rights are set to the permission PmRoot > Permissions > AppStop.

This method is not functional for Web Panels.

See also:
Example:
Termination and new starting of the running application (thyself) by the RunLater utility:
Pm.ShellExecute "", "D:\Pm\RunLater", "/t=10 /f=" & Pm.AppFullName & ".pra", "", 1
Pm.AppQuit 1
Navigation:
 
- Pm
 
- Abs
- AppQuit
 
 
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice