Skip to main content

TdxSpreadSheetCellCommentShowEvent Type

The procedural type of a comment automatic display event.

Declaration

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