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

TGridColumn.DropDownRows

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

Declaration

Source position: grids.pas line 614

published property TGridColumn.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

TGridColumn.ButtonStyle

  

The style used for a button displayed for cells in the column.

TCustomGrid.GetDefaultEditor

  

Gets the default cell editor for the specified column.

TCustomGrid.EditorByStyle

  

Selects a cell Editor control with the specified style.

TColumnButtonStyle

  

Enumeration with cell editor types available in a grid control.

TPickListCellEditor

  

Implements a cell editor control which displays a pick list.

TCustomComboBox.DropDownCount

  

The maximum number of Items visible in the drop-down list for the control.


Version 4.0 Generated 2025-05-03 Home