Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditControlUnprotectDocument Class

An action object that corresponds to the UnprotectDocument command in the Rich Edit control.

#Declaration

Delphi
TdxRichEditControlUnprotectDocument = class(
    TdxRichEditControlAction
)

#Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlUnprotectDocument action object allows an end-user to disable the current document’s protection. If no password was specified in the Start Enforcing Protection dialog, this action disables the protection without confirmation. Otherwise, the Unprotect Document dialog is invoked:

VCL Rich Edit Control: The Unprotect Document Dialog

UI elements linked to a TdxRichEditControlUnprotectDocument action object are enabled only if the following conditions are met:

  • The Rich Edit control’s ReadOnly property is set to False.
  • The active document is currently protected.
See Also