TdxSpreadSheetTableView.CutToClipboard Method
Moves the current selection to the clipboard.
Declaration
procedure CutToClipboard; virtual;
Remarks
Call this procedure to cut a selected cell range or a floating container to the clipboard. Depending on the current selection, the CutToClipboard
procedure cuts:
A cell range; the cell data is available in all clipboard data formats supported by the Spreadsheet and Report Designer controls;
A floating container; the container is then available in the ExpressSpreadSheet internal binary clipboard format and as a bitmap.
End-users can copy the cell or container selection to the clipboard by:
Clicking the “Cut” item in the selection context menu;
You can provide an additional end-user option for cutting the active worksheet‘s content by linking the CutSelection command to an element of your UI either manually or by using the automatic Ribbon or Toolbar UI generation functionality.
Refer to the Clipboard Operations topic for detailed information on the Spreadsheet/Report Designer control’s clipboard-related functionality, including the full list of supported clipboard data formats, current technical limitations, end-user options, and Paste Special settings.
Note
Calling the CutToClipboard
procedure has no effect if the CanCutToClipboard function returns False
.