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

TColumn.GetPickList

Gets the values in the pick list for the column

Declaration

Source position: dbgrids.pas line 284

protected function TColumn.GetPickList: TStrings; override;

Function result

Values available for the lookup-style column

Description

GetPickList is an overridden TStrings function which gets the values in the pick list for the column. GetPickList calls the inherited method, and provides support for Lookup Fields in the column definition.

When Field is assigned and contains a Lookup Field (fkLookup in its FieldKind property), values from the LookupList or the LookupDataset are included in the return value. When LookupDataset is used, the result includes values from the LookupResultField for each of the rows in the dataset.

See also

#lcl.Grids.TGridColumn.GetPickList

  

GetPickList - returns the picklist as a list of strings

#fcl.DB.TField

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