Skip to main content

TdxSpreadSheetTableView.Unprotect Method

Cancels the worksheet protection.

Declaration

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