Skip to main content

TdxCustomSpreadSheet.Protect Method

Invokes the Protect Structure dialog.

Declaration

procedure Protect;

Remarks

Call this procedure to invoke the Protect Structure dialog for the opened spreadsheet document, provided that it is not yet protected.

Technically, the Protect procedure calls the ShowProtectWorkbookDialog if the OptionsProtection.Protected property is set to False.

You can allow end-users to invoke the Protect Structure dialog by linking the ProtectWorkbook command to an element of your UI.

See Also