Engine.DisplayUnlockTypeDefinitionsDialog
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Engine.DisplayUnlockTypeDefinitionsDialog
Syntax
Engine.DisplayUnlockTypeDefinitionsDialog( typeDefinitions, allTypesUnlocked, dlgOptions = 0)
Return Value
Returns True if any types were unlocked in the Unlock Type Definitions dialog box, even if not all types were successfully unlocked or if the user clicked OK and no types needed to be unlocked because all the types were already unlocked or were not password-protected.
Purpose
Displays the Unlock Type Definitions dialog box, in which you can unlock the specified types.
Remarks
Parameters
typeDefinitions As Object Array
[In] Specifies an array of type definitions you want to unlock.
allTypesUnlocked As Boolean
[Out] Returns True if all the types you passed to the typeDefinitions parameter were successfully unlocked, already unlocked, or not password-protected.
dlgOptions As Long
[In] Specifies any combination of the LockUnlockDialogOptions constants.
This parameter has a default value of 0 .
See Also
Engine.DisplayPasswordProtectTypeDefinitionsDialog
Password Protect Type Definitions dialog box
PropertyObject.GetTypeDefinitionProtection
PropertyObject.LockTypeDefinition
PropertyObject.SetTypeDefinitionProtection
PropertyObject.TypeDefinitionLocked