[Overview][Constants][Types][Classes][Procedures and functions][Index] |
ColumnFromField returns the collection item for the specified Field.
Source position: dbgrids.pas line 304
protected function TDBGridColumns.ColumnFromField( |
Field: TField |
):TColumn; |
Field |
|
Field to locate in the collection. |
Collection item for the specified Field.
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.
Version 4.0 | Generated 2025-05-03 | Home |