SaveOnClose Property

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

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

WAS THIS ARTICLE HELPFUL?

Not Helpful