Sign in Join
FPDoc Onlineexperiment

TColumn.GetPickList function

Member of TColumnprotectedIn unit DBGrids

Gets the values in the pick list for the column.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.