ComponentOne True DBGrid Pro 8
EditDropDown Property

EditDropDown Property

This property controls whether editing will take place in a popup window or within cell boundaries.

Syntax

TDBGrid.EditDropDown= boolean

Remarks

Read/Write at run time and design time.

If True (the default), an edit window will pop up when the user attempts to edit a cell whose contents cannot be displayed completely within the confines of the current cell's boundaries. Unlike the built-in combo box, the drop-down edit window will only extend to the bottom of the grid.

If False, editing will be confined to the current cell's boundaries.

The drop-down edit window behaves just like a standard multiple-line TextBox control in Visual Basic. The SelLength, SelStart, and SelText properties are still available, and the arrow keys can be used to navigate within the edit window.

Note

If the user tries to edit the last row in the grid, the drop-down edit window will not be displayed and the user will have to edit within the current cell's boundaries.

The EditDropDown property only applies when the floating editor marquee (MarqueeStyle = 6) is not in effect.

See Also

TDBGrid Control

 

 


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

Product Support Forum  |  Documentation Feedback