[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 282

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 in the column.

See also

#lcl.Grids.TGridColumn.GetDefaultReadOnly

  

GetDefaultReadOnly - returns the default value for the ReadOnly property

#lcl.Grids.TGrid.ReadOnly

#rtl.DB.TField.ReadOnly

The latest version of this document can be found at lazarus-ccr.sourceforge.net.