View Full Version : Flist.getSelectedItem question

03-19-2003, 07:46 PM
I am assuming when using Flist.getSelectedItem(), it returns an object, and not actually the label that is in the listbox. How can I gain access to the actual string label that is displayed in the box.

something like

Flist.getSelectedItem().name ?

Flist.getSelectedItem().label ?

Basically, I'm trying to get around having to define indicies in the as code. Any help would be much appreciated.


03-19-2003, 08:23 PM
getValue will return the data if it exists. If it doesn't exist it returns the label