Object Reference > True DBGrid Properties > FilterButton Property |
FilterButton Property
Determines whether a button is displayed in the current filter cell.
column.FilterButton= boolean
Read/Write at run time and design time.
If True, a button will be displayed in the upper right corner of the current filter cell at run time. If False (the default), no button will be displayed. Typically, you enable the column button when you want to drop down a Visual Basic control (such as the built-in combo box, a bound list box, or even another True DBGrid control) for editing or data entry. When the button in the current cell is clicked, the FilterButtonClick event will be fired. You can then write code to drop down the desired control from the cell.