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.FindCommentContainer(Integer,Integer,Untyped) Method

Returns a comment container by its specified cell object.

#Declaration

Delphi
function FindCommentContainer(ARow: Integer; AColumn: Integer; out AContainer): Boolean; overload;

#Parameters

Name Type
ARow Integer
AColumn Integer
AContainer

#Returns

Type
Boolean

#Remarks

Use this function to obtain a floating comment container whose cell object is passed as the ACell parameter. Alternatively, the overloaded variant allows you to specify a cell object by its row and column indexes as the ARow and AColumn parameters, respectively.

The first overloaded variant of the FindCommentContainer function returns the found comment container as a generic floating container object. If no comment container is found, the function returns nil.

Like in the Add function case, the second and third overloaded variants of the FindCommentContainer function return the actual container object like the AContainer parameter.

See Also