Hello all, I created an object that contains a display (string) property and a value (integer) property. Then I created a local array of this object, added values to it and then bound it to a combo box. If I want to change the display of one of the items, how can I do this? The array was local, so it is no longer available. If possible, I would to change the value without making the array global, changing the value there and then rebinding the object. Is it possible to change the display item in the combo without accessing the array? I have tried the following code. Thanks for the help.
strLine = "Blah"
lstData = me.lstRoutes.Items(intIndex)
lstData.DisplayData = strLine
Me.lstRoutes.Items(intIndex) = lstData
I also tried this:
strLine = "Blah"
Me.lstRoutes.Items(intIndex) = strLine
Randy Belcher
AFG Industries, Inc.