Edit Flags Dialog Box
- Updated2025-04-09
- 2 minute(s) read
Edit Flags Dialog Box
Launch the Type Properties dialog box and click Advanced to launch the Edit Flags dialog box. You can also launch this dialog box by launching the Step Type Properties dialog box, clicking Advanced , and selecting Flags from the drop-down list.
Use this dialog box to change the values of the property flags for a property object. The list of flags corresponds to the available property flag constants in the TestStand API . Checking an item in the listbox activates the corresponding flag in the object.
The property flags represent the state of the object. You can change the state of the object by enabling or disabling the corresponding flag in the listbox. For example, when you enable the PropFlags_NotEditable flag for an object, the property page for the object becomes read-only and you cannot change the value of the object. Each flag is a single bit in a 32-bit integer value. When you enable or disable a flag, the New Flags control displays the changes.
- Old Flags —Shows the initial hexadecimal value of the flags for the object when the Edit Flags dialog box was initially opened.
- New Flags —Shows you the combined hexadecimal value of all flags after the changes. This is the same value the PropertyObject.GetFlags method returns. You can edit the value of this option directly by entering a decimal or hexadecimal value. When you edit this option directly, each flag list item reflects the changes. When you enable or disable a flag, the New Flags control displays the changes.
- Type Flags —This option is visible only when you edit the properties of a type definition. Click Type Flags to launch the Edit Data Type Flags dialog box.
-
Apply Changes to Flags and Type Flags in All Loaded Instances of the Type
—This option is visible only when you are editing the properties of a type definition. When you enable this option and click
OK
, TestStand applies the changes you make to the flags in the Edit Flags dialog box to all instances of the type that are loaded.
When TestStand updates the instances, TestStand updates only the flags you modified in the Edit Flags dialog box. The values specified in the Instance Default Flags control in the Edit Data Type Flags dialog box specify the initial flag values TestStand uses when it creates a new instance of the type. If you unset a flag in the Edit Flags dialog box but the same flag is set in the Instance Default Flags control in the Edit Data Type Flags dialog box, TestStand sets the flag in all instances of the type that are loaded because the set state of the flag is the state that the flag is configured to have for new instances of the type.
Note This option does not affect type instances saved to disk that are not currently loaded.
See Also
Edit Data Type Flags dialog box