ComponentOne True DBGrid Pro 8
Enabling the in-cell button

To enable the in-cell button for a Column object, set its Button property to True on the Splits property page. Or, in code:

Example Title
Copy Code
TDBGrid1.Columns(0).Button = True

The Button property is also enabled when the column's DropDown property is set to the name of a TDBDropDown control, or when the Presentation property of the associated ValueItems collection is set to one of the combo box options.

By default, the in-cell button displays only for the current cell, as shown in the following figure.

However, by setting the column's ButtonAlways property to True, you can force the in-cell button to be displayed in every row.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback