View Single Post
Old 02-16-2017, 06:29 AM
Goggy's Avatar
Goggy Goggy is offline
Join Date: Sep 2005
Location: Enschede,The Netherlands
Posts: 671
Default Your absolutly rite, try this instead.

    Private Sub LstParts_SelectedIndexChanged(sender As Object, e As EventArgs) Handles LstParts.SelectedIndexChanged
        txtComments.Text = String.Empty
        For Each Item As Object In CType(sender, ListBox).SelectedItems
            txtComments.Text &= Item.ToString & vbNewLine
    End Sub
As finishing touch, god created the Dutch!

utterly useless, but always trying to help
Reply With Quote