Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I control the number of rows in a combobox?
Message
 
À
11/02/2002 08:49:28
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00618263
Message ID:
00618269
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform