B
Brian P. Hammer
Hi all,
I am trying to get the tag of all items selected in a listbox. I cannot
seem to figure it out. I think I am getting stuck on the Dim and dimming it
as the correct item. Any help would be great.
Private Sub lstSelectAircraft_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
lstSelectAircraft.SelectedIndexChanged
With lstSelectAircraft
Dim Item As Object '??????
For Each Item In lstSelectAircraft.SelectedItems
MsgBox(Item.tag)
Next
I am trying to get the tag of all items selected in a listbox. I cannot
seem to figure it out. I think I am getting stuck on the Dim and dimming it
as the correct item. Any help would be great.
Private Sub lstSelectAircraft_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
lstSelectAircraft.SelectedIndexChanged
With lstSelectAircraft
Dim Item As Object '??????
For Each Item In lstSelectAircraft.SelectedItems
MsgBox(Item.tag)
Next