Sign in Join
FPDoc Onlineexperiment

TGridColumn.ButtonStyle property

Member of TGridColumnpublishedIn unit Grids

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

Declaration

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

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