Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetTableView.DeleteComments(TRect) Method

Deletes all comment containers within the current selection or a designated cell range.

#Declaration

Delphi
procedure DeleteComments(const AArea: TRect); overload; virtual;

#Parameters

Name Type
AArea TRect

#Remarks

The first overloaded overloaded procedure variant deletes the focused comment container or all comments within the Selection.Area rectangle.

The second and third overloaded procedure variants delete comments within the designated area. The second variant accepts a reference to the target cell range (as a string in the A1 format), while the third variant accepts a TRect value that corresponds to a target cell range.

Note

The DeleteComments procedure variants delete only comments and ignore any other floating containers within the target area.

See Also