TdxSpreadSheetCutSelection Class
An action object that implements the CutSelection command in spreadsheet-based applications.
Declaration
TdxSpreadSheetCutSelection = class(
TdxSpreadSheetAction
)
Remarks
This class does not introduce any new public members. If an in-place editor is active, executing a TdxSpreadSheetCutSelection
action object moves its content selection to the clipboard. Otherwise, the current cell/cell range selection within the active Table View worksheet is cut to the clipboard.
UI elements linked to a TdxSpreadSheetCutSelection
action object are enabled only if the following conditions are met:
- Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to
True
). - The cut to clipboard operation is allowed in the active worksheet (its CanCutToClipboard function returns
True
) or an in-place cell editor is active (i.e., the active worksheet’s IsEditing property returnsTrue
).
Note
CopySelection
and PasteSelection
commands are implemented as TdxSpreadSheetCopySelection and TdxSpreadSheetPasteSelection action objects.
Inheritance
See Also