Vcl.DBGrids.TColumnButtonStyle
Delphi
TColumnButtonStyle = (cbsAuto, cbsEllipsis, cbsNone);
C++
enum DECLSPEC_DENUM TColumnButtonStyle : unsigned char { cbsAuto, cbsEllipsis, cbsNone };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | Vcl.DBGrids |
Description
TColumnButtonStyle indicates whether and how the user can select values for a column from a list.
These are the possible values of TColumnButtonStyle:
Value | Meaning |
---|---|
cbsAuto |
If the column is associated with a lookup field or has a value assigned to its PickList property, the grid displays a combo box in the column. The user can choose a value from the drop-down list. |
cbsEllipsis |
The column displays an ellipsis button that the user can click to choose a value. Clicking the ellipsis button triggers an OnEditButtonClick event. |
cbsNone |
No combo box or ellipsis button is provided. The user cannot select the column's content from a list. |