Steve
asked on
How do I copy the selected items from one listbox to another?
I have two listboxes. I want the selected items in the first box to be copied to the second box on a button click event.
The listbox names are lbFiles and lbDelete. I want lbFiles to copy to lbDelete.
Private Sub btnRight_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRight.Click
lbDelete = lbFiles.SelectedItems
End Sub
The listbox names are lbFiles and lbDelete. I want lbFiles to copy to lbDelete.
Private Sub btnRight_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRight.Click
lbDelete = lbFiles.SelectedItems
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER