View Single Post
Old 02-16-2017, 03:35 AM
Goggy's Avatar
Goggy Goggy is offline
Join Date: Sep 2005
Location: Enschede,The Netherlands
Posts: 671
Default Maybe this will help you

    Private Sub LstParts_SelectedIndexChanged(sender As Object, e As EventArgs) Handles LstParts.SelectedIndexChanged
        With CType(sender, ListBox)
            If txtComments.Text = String.Empty Then
                txtComments.Text = .SelectedItem.ToString
                txtComments.Text &= vbNewLine & .SelectedItem.ToString
            End If
        End With
    End Sub
As finishing touch, god created the Dutch!

utterly useless, but always trying to help
Reply With Quote