Back to Devexpress

TdxSpreadSheetTableView.Unprotect Method

vcl-dxspreadsheetcore-dot-tdxspreadsheettableview-022aaf31.md

latest1.2 KB
Original Source

TdxSpreadSheetTableView.Unprotect Method

Cancels the worksheet protection.

Declaration

delphi
procedure Unprotect;

Remarks

Call this procedure to disable the worksheet protection. If the Table View worksheet is protected with a password, the Unprotect procedure invokes the Password Protection dialog:

If an end-user successfully enters the required password, the worksheet protection is disabled. Otherwise, the incorrect password message box is displayed:

The worksheet’s OptionsProtection.Protected and Options.Protected properties are set to False when the worksheet protection is successfully disabled.

See Also

TdxSpreadSheetTableView.Protect

TdxSpreadSheetTableView Class

TdxSpreadSheetTableView Members

dxSpreadSheetCore Unit