Skip to main content
Table of Contents

TTMSFNCDataGridClipboardOptions Class

Options that govern clipboard cut, copy, and paste behaviour for the grid.

API unit family: TMSFNCDataGridRenderer Inherits from: TPersistent

Syntax

GeneratedPascalC++
TTMSFNCDataGridClipboardOptions = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridClipboardOptions : public System::Classes::TPersistent

Remarks

Reached through the grid's Options.Clipboard. Clipboard content is exchanged as tab-separated text: each line maps to a row and each tab-separated value to a column. The keyboard shortcuts (Ctrl+C / Ctrl+Insert, Ctrl+X / Ctrl+Delete, Ctrl+V / Shift+Insert, Cmd on macOS) are processed only when no inplace editor is active; while editing, the editor handles them itself.

Properties

Name Description
AllowColumnGrow When True, pasting content that is wider than the current column count automatically adds new columns. Default is False.
AllowRowGrow When True, pasting content that has more rows than the current row count automatically adds new rows. Default is False.
Enabled Enables the clipboard cut, copy, and paste keyboard shortcuts. Default is True.
IgnoreReadOnly When True, paste operations write into cells even if they are marked read-only. Default is False.
PasteAction Determines whether pasting replaces existing cell values (gpaReplace, default) or inserts a new row per pasted line (gpaInsert).

Used by