Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
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