ApplicationMgr.IsEditor
- Updated2025-07-21
- 1 minute(s) read
ApplicationMgr.IsEditor
Syntax
ApplicationMgr.IsEditor
Data Type
Purpose
Specifies whether the TestStand User Interface (UI) Controls allow the user to create and edit sequence files. Set this property to False for a non-editing user interface application. Set this property to True for an application that edits and saves sequence files.
Remarks
When you set this property to True and you do not have an activated license that allows editing, TestStand generates a prompt to activate a license. When you do not have an appropriate license, TestStand generates an error. You can set or clear this property with the /editor or /operatorinterface command-line flags. To avoid overriding a value you specify on the command line, set this property to a default value for the application before the application evaluates the command-line arguments. The application evaluates command-line arguments when you call the ApplicationMgr.Start method. Use the ApplicationMgr.CommandLineCanChangeEditMode property to control whether the application evaluates the /editor or /operatorinterface command-line flags.
When you set this property in the designer or set it before you call the ApplicationMgr.Start method, TestStand verifies the value when you call the ApplicationMgr.Start method, which returns an error when this property is True and cannot obtain a license that permits editing. When you set this property after calling the ApplicationMgr.Start method, the Application Manager control might prompt to activate a license.
See Also
Activating Your Software with the NI License Manager
ApplicationMgr.CommandLineCanChangeEditMode
ApplicationMgr.EditModeShortcutKey