EhLib
ContentsIndexHome
PreviousUpNext
DBAxisGridsEh.TCellButtonStyleEh Enumeration

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

Pascal
TCellButtonStyleEh = (
  cbsAuto,
  cbsEllipsis,
  cbsNone,
  cbsUpDown,
  cbsDropDown,
  cbsAltUpDown,
  cbsAltDropDown
);
Members 
Description 
cbsAuto 
If the column is associated with a lookup field , has a value assigned to its PickList property, has a value assigned to its PickList property and KeyList property, has a value assigned to its ImageList property and KeyList 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. 
cbsUpDown 
If the column is associated with a numeric or lookup field or column have PickList or KeyList values, grid display a up and down buttons in the column. Step of incrementation is assigned by Increment property. 
cbsAltDropDown 
heЕcolumn displays an drop down button that the user can click to choose a value. Clicking the drop down button triggers an OnEditButtonClick event. 

The ButtonStyle property determines how users can edit the data of a data-grid column.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!