Sign in Join
FPDoc Onlineexperiment

TColumn.GetDefaultReadOnly function

Member of TColumnprotectedIn unit DBGrids

Gets the default value for the ReadOnly property.

Declaration

pascal
function GetDefaultReadOnly: Boolean; override

Function result

Effective value for the ReadOnly property.

Description

GetDefaultReadOnly is an overridden Boolean function which gets the default value for the ReadOnly property. GetDefaultReadOnly combines the ReadOnly values found in both the Grid and the Field for the dataset to derive the value for the method. The return value is True when Grid or Field is not assigned for the column.

See also

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