XML/ListBox Quandary

Hey all,

Is there any way to tell which item a user selects from a List? I already have a “change” event listener, but that doesn’t tell me WHICH item was clicked (at least, I don’t think it does.) Is there any way to tell?

Thanks,
puzzleMeister
:cool:

[edit: forgot the XML part…the list is generated from an xml file:]

 
<?xml version="1.0" ?>
<songs>
<song display="Hallelujah Chorus: A Soulful Celebration" url="001.mp3">
<composer>Georg Friedrich Handel</composer>
</song>
<song display="Something Latin" url="002.mp3">
<composer>Kirby Shaw</composer>
</song>
</songs>

The reason I need to know which song I’m on is so I can reference the <composer> child tag for the correct song.
Thanks!