General information
Category:
Forms & Form designer
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only