Sign in Join
FPDoc Onlineexperiment

TCustomGrid.DoCopyToClipboard procedure

Member of TCustomGridprotectedIn unit Grids

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

Declaration

pascal
procedure DoCopyToClipboard; virtual

Description

DoCopyToClipboard 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.

DoCopyToClipboard is called from the KeyDown method when the Ctrl+C or Meta+C (macOS, iOS, Darwin) key is handled for the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.