Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.FileExit |
Function FileExit(PromptUser As Boolean) As Boolean
Member of CorelScript
The FileExit method exits the application, returning one of the following values:
• |
True (-1) The application was exited.
|
• |
False (0) The application was not exited.
|
• |
This method must be preceded by the CorelScript.FileSave method, or changes
will be lost.
|
Parameter
|
Description
|
PromptUser
|
Specifies whether to prompt the user before exiting the application. True (-1) prompts the user, while False (0) exits the file without prompting the user.
|
Copyright 2013 Corel Corporation. All rights reserved.