Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box with an Array
Message
 
À
24/06/1999 07:00:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00232378
Message ID:
00233511
Vues:
32
No need to calculate the length of the array. Just set

rowsource=this.JohnArray
rowsourcetype=array
numberofelements=0 (default)

in the combobox init
select somestuff from somewhere into array this.JohnArray

Voila!

>I tried this and still had to do a ReQuery() to get it to show up...

>>Someone else got the answer for you, but here are some tips:
>>- combobox should almost always have bounto=.t. (set this is your base class)
>>- consider making a combobox class that has an array as a property. This solves having to requery after loading the array and then releasing the array.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform