Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not an Array Error 1st Time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00261208
Message ID:
00261216
Vues:
25
Hi Steve.

>In my form's init method, I create a 4x3 array and fill it with values. The array is used to populate a combobox (boundto=.f., rowsource = arFillCombo, rowsourcetype = 5 - array, all these were defined visually in the form designer).

Is the array a property of the form? If not, it likely should be. You can created it using the New Property dialog and specify arFillCombo[1] as the name (the [1] is important so VFP sees the property as an array). Then, change the RowSource of the combobox to Thisform.arFillCombo and in the Init method of the form, change all references to arFillCombo to This.arFillCombo. Don't forget to use This.[combobox name].Requery() after filling the array.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform