Object Reference > True DBGrid Properties > DropDownList Property |
DropDownList Property
For columns with a built-in ValueItems combo box or associated TDBDropDown control, this property determines whether the drop-down control acts like a list box.
column.DropDownList = boolean
Read/Write at run time and design time.
If True, the drop-down control acts like a list box. That is, the user cannot type directly into the current cell, but can select a new value from the drop-down control.
If False (the default), the drop-down control acts like a combo box. That is, the user can either type directly into the current cell or select a new value from the drop-down control.