Sign in Join
FPDoc Onlineexperiment

TGridColumn.PickList property

Member of TGridColumnpublishedIn unit Grids

The list with the values that can be selected for a cell in the column using a drop-down list.

Declaration

pascal
property PickList: TStrings read GetPickList write SetPickList;

Description

PickList is a TStrings property which contains the list of values that can be selected for a cell in the grid column. It is used when the ButtonStyle property is set to cbsPicklist to enable a combo-box-style cell editor for the column. The values in PickList are assigned as the items in the drop-down list for the editor.

Use DropDownRows to control the number of lines displayed in the drop-down list when the cell editor is activated.

Note that the Expanded property always contains True; write access is not enabled for the property.

See also

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