Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.PasteFromClipboard Method

Pastes tab-delimited text from the system clipboard into the grid, starting at the top-left cell of the current selection.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
procedure PasteFromClipboard;
void __fastcall PasteFromClipboard();

Remarks

Each clipboard line fills one row and each tab-separated value one column. With Options.Clipboard.PasteAction set to gpaInsert, a new row is inserted for each pasted line instead of overwriting existing rows. Nothing happens when there is no selection.