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

TdxSpreadSheetContainers.EnumCommentContainers(TRect,TdxSpreadSheetContainerEnumProc) Method

Performs the required actions on all comment containers in the current collection.

#Declaration

Delphi
procedure EnumCommentContainers(const AArea: TRect; AProc: TdxSpreadSheetContainerEnumProc); overload;

#Parameters

Name Type
AArea TRect
AProc TdxSpreadSheetContainerEnumProc

#Remarks

The EnumCommentContainers procedure provides a convenient way to apply a uniform set of actions to all comment containers in a Table View worksheet. For instance, you can add a specific text string to all cell comments.

The AProc parameter specifies the TdxSpreadSheetContainerEnumProc anonymous function whose AContainer parameter is used to address each comment container in either the entire current worksheet or its specific area passed as the AArea parameter in the overloaded variant.

Note

To access and modify only a specific comment container in the current collection, use the FindCommentContainer and FindNextCommentContainer functions.

See Also