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

TCustomStringGrid.CopyToClipboard

Copies the selection cell range to the clipboard.

Declaration

Source position: grids.pas line 1779

public procedure TCustomStringGrid.CopyToClipboard(

  AUseSelection: Boolean = False

);

Description

CopyToClipboard will copy a range of cells into the clipboard; the cells values are TAB separated. The range is defined based on optional AUseSelection parameter (which is False by default) and indicates the range is set to the whole grid, including fixed cols/rows. If AUseSelection is True, the range of cells is set to the current TCustomGrid.Selection.

See also

TCustomGrid.Selection

  

Rectangle with the current cell selections in the grid control.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.