Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I control the number of rows in a combobox?
Message
 
To
11/02/2002 08:49:28
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00618263
Message ID:
00618269
Views:
10
>Hi All,
>
>I have noticed that all of my VFP6 comboboxes show a maximum of 7 rows at runtime. Which property do I need to set so that I can increase this count?
>
>I know that there is a ColumnCount property, but what about a 'RowCount' or something to that efffect?
>
>TIA,
>
>Mike

I'm pretty sure thats how it works - this is from the help

DisplayCount Property
Applies To: ComboBox
Specifies the maximum number of items displayed in the list portion of a ComboBox control.

Object.DisplayCount[ = nExpression]
nExpression
Specifies the maximum number of items displayed in the list portion of the ComboBox control. The default value is zero; if nExpression is zero, a maximum of 7 items are displayed in the list.
Scroll arrows are not displayed in the list portion of a ComboBox control if nExpression is one.


HTH
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform