Skip to main content

TdxSpreadSheetSheetProtectionOptions.AllowSelectLockedCells Property

Specifies if an end-user can select locked cells in a protected worksheet.

Declaration

property AllowSelectLockedCells: Boolean index 9 read; write; default True;

Property Value

Type Default
Boolean True

Remarks

This property corresponds to the Select locked cells checkbox in the Protect Sheet dialog:

The Protect Sheet Dialog

Set the AllowSelectLockedCells property to False or True to forbid or allow an end-user to select locked cells within a protected worksheet. Setting this property to True automatically sets the AllowSelectUnlockedCells property to True. Therefore, if you allow selecting locked cells, an end-user is able to select any cell within a protected worksheet.

To identify if an end-user is currently able to select locked cells, use the ActualAllowSelectLockedCells property.

The default value of the AllowSelectLockedCells property is True.

See Also