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:
00262684
Vues:
17
Things pretty much work at this point. I am getting array values into the combobox. Because I modified the ControlSource property to be that of the view I am working on, if I select something from the dropdown it gets written to the view. But if I type in an entry, it doesn't get written to the view. I was playing with requery in the lostfocus method and came up dry.






>The form's Init method, where your array is created, is fired too late. The combobox has already been instanciated and looks for the arFillCombo array before the form's Init. If you want to check for yourself, just put a MessageBox

>>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).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform