Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement