Engine.DisplayPasswordProtectTypeDefinitionsDialog
- Updated2024-10-09
- 1 minute(s) read
Engine.DisplayPasswordProtectTypeDefinitionsDialog
Syntax
Engine.DisplayPasswordProtectTypeDefinitionsDialog( typeDefinitions, modifiedTypeDefinitions, dlgOptions = 0)
Return Value
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.
Purpose
Displays the Password Protect Type Definitions dialog box, in which you can edit the password protection settings of the types you specify.
Remarks
Parameters
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 .
See Also
Engine.DisplayUnlockTypeDefinitionsDialog
Password Protect Type Definitions dialog box
PropertyObject.GetTypeDefinitionProtection
PropertyObject.LockTypeDefinition
PropertyObject.SetTypeDefinitionProtection
PropertyObject.TypeDefinitionLocked