TDBGridColumns.ColumnFromField function
ColumnFromField returns the collection item for the specified
Field.Declaration
function ColumnFromField(Field: TField): TColumnArguments
Field | Field to locate in the collection. |
Function result
Collection item for the specified Field.
Description
ColumnFromField returns the collection item for the specified
Field. The return value is
Nil when Field has not been assigned.
ColumnFromField iterates over the Items in the collection to locate the
specified Field. The return value is Nil when Field cannot be
located in the Items for the collection.
ColumnFromField is used in the TDBGrid.AddAutomaticColumns method.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
