|Download Help (Windows Only)|
Engine.DisplayPasswordProtectTypeDefinitionsDialog ( typeDefinitions, modifiedTypeDefinitions, dlgOptions = 0)
Returns True if the user clicked OK in the dialog box and False if the user clicked Cancel. When this method returns True, use the modifiedTypeDefinitions parameter to determine which types, if any, were modified.
Displays the Password Protect Type Definitions dialog box, in which you can edit the password protection settings of the types you specify.
|Note TestStand supports password-protecting type definitions to deter unauthorized users from editing the types in the sequence editor. However, any TestStand user can continue to programmatically edit a locked type by using the TestStand PropertyObject API. National Instruments does not recommend password-protecting types as the only way of protecting intellectual property.|
typeDefinitions As Object Array
[In] Specifies an array of type definitions for which you want to edit the password protection information.
modifiedTypeDefinitions As Object Array
[Out] Returns the subset of types you passed to the typeDefinitions parameter the user modified in the dialog box. The dialog box might modify only a subset of the types because some of the types might already use the settings the user specified.
dlgOptions As Long
[In] Specifies the CommonDialogOptions option you want to use. Use the bitwise-OR operator to specify more than one option.
This parameter has a default value of 0.