Skip to main content

TdxCustomSpreadSheet.OnCommentShow Event

Enables you to disable automatic display for hidden comment containers.

Declaration

property OnCommentShow: TdxSpreadSheetCellCommentShowEvent read; write;

Remarks

This event occurs every time a hidden comment is about to appear when the mouse pointer enters into a commented cell’s boundaries. Handle this event and set the AHandled var parameter to True to prevent comment visualization. You can use the ACommentContainer parameter within an OnCommentShow event handler to identify a comment that is about to appear to treat specific comments in a different manner.

Refer to the TdxSpreadSheetCellCommentShowEvent procedural type description for detailed information on all parameters accessible within an OnCommentShow event handler.

Note

The OnCommentShow event occurs only when a comment is about to appear as a cell’s hint. This event does not occur if:

  • The ShowHideComments end-user command shows a hidden comment container;

  • A user clicks the “Show Comment” item in a cell context menu;

  • A comment container’s Visible property value changes from False to True.

See Also