Skip to main content

TdxSpreadSheetClearContents Class

An action object that implements the ClearContents end-user command in Spreadsheet and Report Designer-based applications.

Declaration

TdxSpreadSheetClearContents = class(
    TdxSpreadSheetCustomEditCellsAction
)

Remarks

This class does not introduce any new public members. Executing this action object removes the values from all currently selected cells. Technically, a TdxSpreadSheetClearContents action object calls the ClearCellValues procedure for the active Table View worksheet.

UI elements linked to a TdxSpreadSheetClearContents action object are enabled only if the following conditions are met:

Note

To remove both the cell values and custom styles from the current cell selections, use the TdxSpreadSheetClearAll action object.

See Also