PDA

View Full Version : Listbox hidden item


Zazza
05-29-2006, 02:39 PM
Hi everyone..
Got an array with movies title and its proper ID like: myArray [title,ID].
I don't want to show the ID into the listbox however I'd like that ID item still to be processed into a listener object.
I wonder if is it possible to make that ID hidden into the listbox?

Thanks.

netom
06-12-2006, 06:18 PM
Try to keep two arrays: one for displaying the List and the other to hold the entire data set.

The first one could be used as the List's DataProvider and the other could be kept as a reference inside the list so it will be easily accesed at the listener.