ComponentOne True DBGrid Pro 8
MaxComboItems Property

This property controls the maximum number of items to be displayed in the built-in combo box.

Syntax

valueitems.MaxComboItems= integer

Remarks

Read/Write at run time and design time.

The default value for this property is 5.

When the Presentation property of a column's ValueItems collection is set to either of the combo box options (sorted or unsorted), the MaxComboItems property determines the combo box height in terms of the number of value items displayed.

If the total number of value items is less than or equal to MaxComboItems, then all value items will be shown. If the total number of value items exceeds MaxComboItems, only MaxComboItems will be shown, but a scroll bar will appear at the right edge of the drop-down combo to allow users to bring the other value items into view.

Use the ValueItems property to access the ValueItems collection for a Column object.

See Also

ValueItem Object, ValueItems Collection

 

 


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

Product Support Forum  |  Documentation Feedback