Cell Editing Techniques > Drop-down Controls > Using the built-in column button |
An alternative way to drop down a control from a cell is to use True DBGrid's built-in column button feature. If you set a column's Button property to True, a button will be displayed at the right edge of the current cell when it is in that column. Clicking the button fires the grid's ButtonClick event. You can then drop down a control from the cell using code inside the ButtonClick event. You can also use this event to trigger any action or calculation inside the cell.
For more information, see In-Cell Buttons.