Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not an Array Error 1st Time
Message
De
03/09/1999 12:38:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00261208
Message ID:
00261244
Vues:
24
>Using VFP6/SP3.
>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).
>
>The first time the thing is run I get an error 'arFillCombo' is not an array. I click [OK] and the combobox is not populated. I click my form's [EXIT] button and I get the error 3 more times.
>
>If I run the form again, the combobox is populated and the form works fine. I can't seem to trap this error.
>
>Any suggestions?

Steve

Are you setting the properties of the combo from the init of the form at runtime? Or have you set them manually? If the later you should remember that the INITs for all the controls on the form run before the INIT of the form.

Mace
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform