[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TColumn.GetDefaultReadOnly

Gets the default value for the ReadOnly property.

Declaration

Source position: dbgrids.pas line 277

protected function TColumn.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

TGridColumn.GetDefaultReadOnly

TCustomDBGrid.ReadOnly

  

Indicates if modifications are allowed in the grid control.

TField.ReadOnly


Version 4.0 Generated 2025-05-03 Home