Skip to main content

TdxSpreadSheetTableView.CanDeleteComments(TRect) Method

Identifies if it is possible to delete comments in the specified cell range.

Declaration

function CanDeleteComments(const AArea: TRect): Boolean; overload; virtual;

Parameters

Name Type Description
AArea TRect

A rectangle that corresponds to the target cell range.

Returns

Type Description
Boolean

True if users can delete at least one comment in the specified area; otherwise, False.

Remarks

This function returns True if at least one comment container can be deleted within an area specified as the AArea parameter; otherwise – False. Likewise, the overloaded variant identifies whether it is possible to delete a single comment within the area bounded by the Selection.Area rectangle.

See Also