Sign in Join
FPDoc Onlineexperiment

TCustomGrid.EditorIsReadOnly function

Member of TCustomGridprotectedIn unit Grids

Determines if the current column number is defined as read-only.

Declaration

pascal
function EditorIsReadOnly: Boolean; virtual

Function result

True if the current column is marked (or defined) as read-only.

Description

Calls GetColumnReadonly using the value in Col as the column number.

When the Columns collection has been enabled, the ReadOnly property in the TGridColumn instance determines the return value. Otherwise, the value from GetDefaultColumnReadOnly is used as the return value (False in TCustomGrid).

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.