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

TGridColumn.ButtonStyle

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

Declaration

Source position: grids.pas line 612

published property TGridColumn.ButtonStyle : TColumnButtonStyle
  read FButtonStyle
  write SetButtonStyle
  default cbsAuto;

Description

ButtonStyle is a TColumnButtonStyle property which indicates the button style used for cell editors displayed in the column. The default value is cbsAuto, and causes String-based editors with an Ellipsis button to be selected.

See TColumnButtonStyle for other values allowed used in the property, and their usage.

Changing the value for the property causes the ColumnChanged method to be called to update the collection item and reset the value in WidthChanged to False.

ButtonStyle is used when the GetDefaultEditor or EditorByStyle methods in Grid are called.

See also

TGridColumn.ColumnChanged

  

Performs actions needed when a column in the grid is changed.

TGridColumn.WidthChanged

  

True when the width for the column has been changed.

TGridColumn.Grid

  

The grid control to which this column belongs.

TGridColumns.Items

  

Provides indexed access to column definitions in the collection.

TCustomGrid.EditorByStyle

  

Selects a cell Editor control with the specified style.

TCustomGrid.GetDefaultEditor

  

Gets the default cell editor for the specified column.

TColumnButtonStyle

  

Enumeration with cell editor types available in a grid control.

TCompositeCellEditor

  

Implements a composite cell editor with combines one or more of the predefined cell editors types.

TCollectionItem


Version 4.0 Generated 2025-05-03 Home