JVCL Help:TJvCreateProcess.CloseApplication

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Closes the process.


Pascal

 functionCloseApplication(SendQuit: Boolean = False): Boolean;


Parameters

Parameters Description
SendQuit: Boolean = False Indicates whether to close immediately.


Return Value

Returns True if a process with an ID equal to ProcessInfo.dwProcessId exists, otherwise returns False.


Description

Call CloseApplication to close the process. If SendQuit is True then the application will terminate immediately after processing the request. If SendQuit is False then the application can prompt the user for confirmation, and close only if the user confirms the choice.
Calling CloseApplication when State is psReady, will raise an error.


See Also

TJvCreateProcess.Terminate


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page