TColumnButtonStyle enumeration
Enumeration with cell editor types available in a grid control.
Declaration
TColumnButtonStyle = (cbsAuto,cbsEllipsis,cbsNone,cbsPickList,
cbsCheckboxColumn,cbsButton,cbsButtonColumn)Description
TColumnButtonStyle is an enumerated type with values that
represent the different cell editor types available in a grid control.
TColumnButtonStyle is the type used for the
TGridColumn.ButtonStyle property, and passed as an argument when
an editor is requested for a column definition. It is also used when the
TCustomGrid.GetDefaultEditor method is called to get the default
cell editor for a given column.
See also
Values
cbsAuto | Button style is automatically determined by the grid control. Results in a TStringCellEditor being used for the cell. |
cbsEllipsis | Button style with an Ellipsis ( ...) is displayed as the cell editor. Results in a TCompositeCellEditor being used for the cell. |
cbsNone | Indicates no editor is required for a cell. |
cbsPickList | Indicates a Pick List is used in the grid column. Results in a TPickListCellEditor being used for the cell. |
cbsCheckboxColumn | Indicates a check box is displayed as the editor for the grid column. |
cbsButton | Indicates a cell editor with a Button is used in the grid column. Causes a TButtonCellEditor to be created. |
cbsButtonColumn | Indicates a button, centered in the cell, is used in the grid column. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
