Sign in Join
FPDoc Onlineexperiment

TGridColumn.DropDownRows property

Member of TGridColumnpublishedIn unit Grids

The number of rows displayed in the drop-down list for a cell editor in the column.

Declaration

pascal
property DropDownRows: LongInt read FDropDownRows write FDropDownRows default 7;

Description

DropDownRows is a Longint property with the number of rows displayed in the drop-down list for the cell editor in the column. The default value is 7.

DropDownRows is assigned to the cell editor retrieved in the GetDefaultEditor method in the Grid control. It is relevant when the ButtonStyle for the column is set or resolved to cbsPicklist in the EditorByStyle method for the Grid control.

See also

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