TTMSFNCDataGridRenderer.CopyToClipboard Method
Copies the selected cells (or all cells when
ASelectedCellsis False) to the system clipboard as tab-delimited text.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
procedure CopyToClipboard(ASelectedCells: Boolean = True);
void __fastcall CopyToClipboard(bool ASelectedCells = true);
Remarks
Columns are separated by tabs and rows by line breaks. HTML tags are stripped and multi-line values are quoted. Each value passes through the save-cell-data hook, so custom conversions applied on save also apply to the clipboard. Nothing is copied when there is no selection.
Parameters
| Name | Description |
|---|---|
ASelectedCells |
When True (default), copies the current selection range; when False, copies every cell including the fixed cells. |