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

TdxSpreadSheetCellCommentShowEvent Type

The procedural type of a comment automatic display event.

#Declaration

Delphi
TdxSpreadSheetCellCommentShowEvent = procedure(Sender: TdxSpreadSheetCell; ACommentContainer: TdxSpreadSheetContainer; var AHandled: Boolean) of object;

#Parameters

Name Type
Sender TdxSpreadSheetCell
ACommentContainer TdxSpreadSheetContainer
AHandled Boolean

#Remarks

Use the Sender parameter to access the commented cell object that raised a TdxSpreadSheetCellCommentShowEvent event. Use the ACommentContainer parameter value to identify and access the hidden comment that is about to be shown when the mouse pointer enters the worksheet cell that corresponds to the Sender cell object. To access the comment container’s type-specific members, you need to cast the ACommentContainer parameter value to the TdxSpreadSheetCommentContainer class.

Set the AHandled var parameter to True if you need the ACommentContainer comment to stay hidden when a TdxSpreadSheetCellCommentShowEvent event occurs.

A Spreadsheet control’s OnCommentShow event references the TdxSpreadSheetCellCommentShowEvent type.

See Also