PromptForOverwrite Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

ApplicationMgr.PromptForOverwrite

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 makes a backup of a file when you save a sequence file over an existing file that has an older or newer format. When this property is PerformActionOption_Yes, the Application Manager control backs up the existing file before saving it. When this property is PerformActionOption_No, the Application Manager control saves over the existing file without backing it up. When this property is PerformActionOption_Prompt, the Application Manager control prompts you to choose whether to back up the existing file.

Remarks

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


See Also

ApplicationMgr.ConfigFile

WAS THIS ARTICLE HELPFUL?

Not Helpful