ApplicationMgr.SaveOnClose

Syntax

ApplicationMgr.SaveOnClose

Data Type

PerformActionOptions

Use the following constants with this data type:

  • PerformActionOption_No –(Value: 1) Specifies to not perform an action.
  • PerformActionOption_Prompt –(Value: 2) Specifies to prompt the user to determine whether to perform an action.
  • PerformActionOption_Yes –(Value: 0) Specifies to perform an action without prompting the user.

Purpose

Specifies whether the Application Manager control saves a modified file when you close the modified file. When this property is PerformActionOption_Yes , the Application Manager control saves the file. When this property is PerformActionOption_No , the Application Manager control discards the file without saving the file. When this property is PerformActionOption_Prompt , the Application Manager control prompts you to choose whether to save the file.

Remarks

The value of this property persists in the application configuration file.

See Also

ApplicationMgr.ConfigFile