TTMSFNCCustomDataGrid.CopyToClipboard Method
Copies cells to the system clipboard as tab-delimited text.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
procedure CopyToClipboard(ASelectedCells: Boolean = True);
void __fastcall CopyToClipboard(bool ASelectedCells = true);
Remarks
Columns are separated by tabs and rows by line breaks; multi-line values are quoted. Each value passes through OnSaveCellData. Nothing is copied when there is no selection. OnBeforeCopyToClipboard and OnAfterCopyToClipboard fire only for the keyboard shortcut, not for this method.
Parameters
| Name | Description |
|---|---|
ASelectedCells |
When True (default), copies the current selection range; when False, copies every cell including fixed cells. |