Skip to main content

TdxSpreadSheetCopySelection Class

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

Declaration

TdxSpreadSheetCopySelection = class(
    TdxSpreadSheetAction
)

Remarks

This class does not introduce any new public members. If an in-place editor is active, executing a TdxSpreadSheetCopySelection action object copies its content selection to the clipboard. Otherwise, the current cell/cell range selection within the active Table View worksheet is copied to the clipboard.

If a cell range is selected, a TdxSpreadSheetCopySelection action object calls the active Table View worksheet’s CopyToClipboard procedure for the current selection.

UI elements linked to a TdxSpreadSheetCopySelection action object are enabled only if one of the following conditions is met:

Note

CutSelection and PasteSelection commands are implemented as TdxSpreadSheetCutSelection and TdxSpreadSheetPasteSelection objects.

See Also