Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array Driven Combobox Issue
Message
De
23/01/2004 05:27:28
 
 
À
22/01/2004 10:41:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00869500
Message ID:
00869795
Vues:
12
Linos

Is your combo's rowSourceType = 5 (array)?

If not, it can be 0 and you can add your array to it using .AddItem() and .AddListItem().

Terry

>Here's an example of my code along with some things I've tried to make it work. That includes releasing the array and rebuilding it:
>
>thisform.ReportSelCombo.Rowsource=""
>release rname_array
>public RNAME_ARRAY (1,2)
>
>
>x=asort(RNAME_ARRAY)
>thisform.ReportSelCombo.Rowsource=RNAME_ARRAY
>
>thisform.ReportSelCombo.refresh
>thisform.refresh
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform