C
COHENMARVIN
I have an array of structures that I'd like to put in a listbox. I'd
like to concatenate some of the fields together to display, but I also
need one of the fields to be the value of the item.
Now I could add the structures one by one to the listbox
(with .items.add(item)), but I think I would need a 'tostring' method
in the structure. Is that possible to do?
Or maybe I could set the listbox datasource to the entire array, but
then I don't know how to make some of the fields appear as a display
in the listbox, and one of the fields come back as the actual value of
a row in the listbox.
These are basic operations, but after reading a VB book, I still don't
know how to do them.
Thanks,
Marvin
like to concatenate some of the fields together to display, but I also
need one of the fields to be the value of the item.
Now I could add the structures one by one to the listbox
(with .items.add(item)), but I think I would need a 'tostring' method
in the structure. Is that possible to do?
Or maybe I could set the listbox datasource to the entire array, but
then I don't know how to make some of the fields appear as a display
in the listbox, and one of the fields come back as the actual value of
a row in the listbox.
These are basic operations, but after reading a VB book, I still don't
know how to do them.
Thanks,
Marvin