RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DBGrids.TColumnButtonStyle Enumeration

TColumnButtonStyle indicates whether and how the user can select values for a column from a list.

Pascal
TColumnButtonStyle = (
  cbsAuto,
  cbsEllipsis,
  cbsNone
);
C++
enum TColumnButtonStyle {
  cbsAuto,
  cbsEllipsis,
  cbsNone
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!