Skip to main content

TdxSpreadSheetTableView.CanClearCells(string) Method

Identifies if is possible to clear the specified cell range.

Declaration

function CanClearCells(const AArea: string): Boolean; overload;

Parameters

Name Type Description
AArea string

A reference to the target cell range in A1 format.

Returns

Type Description
Boolean

True if it is possible to clear the specified cell range; otherwise, False.

Remarks

The function returns True only if the following conditions are met:

Otherwise, the CanClearCells function returns False.

Note

The CanClearCells function returns True if the worksheet is protected but the Style.Locked property is set to False for one or more cells in the target cell range.

See Also