[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Grids' (#lcl)

# TCustomGrid.DoCutToClipboard

Performs actions needed to cut a cell or a text selection to the clipboard.

## Declaration

Source position: grids.pas line 1026

`protected procedure TCustomGrid.DoCutToClipboard; virtual;`

## Description

DoCutToClipboard is a virtual method in TCustomGrid, and has an empty implementation. It is overridden in descendent classes, like TCustomStringGrid, to perform the actions required for the class type.

DoCutToClipboard is called from the KeyDown method when the Shift+X key is handled for the control.

## See also

TCustomGrid.KeyDown |  | Handles key down events for the grid control.
TCustomGrid.DoCopyToClipboard |  | Performs actions needed to copy a cell or a text selection to the clipboard.
TCustomGrid.DoPasteFromClipboard |  | Pastes data from the clipboard into the grid control.
TCustomStringGrid.DoCutToClipboard |  | Performs actions needed to cut a cell or a text selection to the clipboard.
TCustomStringGrid.DoCopyToClipboard |  | Performs actions needed to copy a cell or a text selection to the clipboard.