Skip to main content

TdxSpreadSheetTableView.CanEditComment Method

Identifies if it is possible to edit comment containers within the worksheet.

Declaration

function CanEditComment: Boolean; virtual;

Returns

Type
Boolean

Remarks

This function returns True if an end-user can modify the content of the cell comment containers created within the current Table View worksheet; otherwise – False.

Technically, the CanEditComment function checks:

  • Whether it is possible to edit cells within the active spreadsheet document (if cells are not available for editing, so are their comments);

  • Whether the currently active Table View worksheet is protected;

  • Whether a cell within the Table View worksheet is focused (if no cell is focused, no comment can be edited).

See Also