ComponentOne True DBGrid Pro 8
DropDown Property

DropDown Property

This property associates the name of a TDBDropDown control with a column in a TDBGrid control.

Syntax

column.DropDown = string

Remarks

Read/Write at run time and design time.

When the user clicks the column's in-cell button, the associated TDBDropDown control is displayed below the current cell.

Use the DropDown property and a TDBDropDown control to implement a multicolumn drop-down list box that works seamlessly with a TDBGrid control. The ListField property of the drop-down control determines which column is used for incremental search. The DataField property of the drop-down control determines which grid column is updated when the user selects an item.

Note

When you set the DropDown property of a column to the name of a TDBDropDown control, then the Button property for that column will be set to True. Similarly, if you set the DropDown property of a column to an empty string, then the Button property for that column will be set to False.

See Also

Column Object

 

 


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

Product Support Forum  |  Documentation Feedback