Skip to main content

TdxSpreadSheetTableView.EditComment Method

Invokes the Customize Object dialog window with the active Text tab for a comment container.

Declaration

procedure EditComment; virtual;

Remarks

If there is a comment container associated with the currently focused cell, this procedure invokes the Customize Object dialog window for this container. If the focused cell is not commented, the EditComment procedure creates a new comment container and activates the Customize Object dialog for it.

Calling the EditComment procedure emulates the Shift+F2 key combination pressed by an end-user.

Note

If the CanEditComment function returns False, calling the EditComment procedure has no effect.

See Also