Object Reference > True DBGrid Properties > ButtonAlways Property |
ButtonAlways Property
Controls when an in-cell button is displayed.
column.ButtonAlways= boolean
Read/Write at run time and design time.
For columns with in-cell buttons, this property determines whether a button is displayed on every row at all times or only within the current cell.
If True, a button will always be displayed within every visible cell, even if another column or control has focus.
If False (the default), a button will be displayed within the current cell only.
Note
This property has no effect on columns without in-cell buttons. In-cell buttons are enabled for a column when any of the following are true:
· The column's Button property is set to True.
· The column's ButtonText property is set to True.
· The column's DropDown property is set to the name of a TDBDropDown control.
· The Presentation property of the column's ValueItems collection is set to 2 - Combo Box or 3 - Sorted Combo Box.