|
-
Jun 20th, 2001, 03:23 AM
#1
Thread Starter
Frenzied Member
Listbox Question
I have 2 listboxes with multiselect enabled.
The first box is pre-populated, and the user selects what they want.
They then click a button which copies the selection to listbox 2.
When I use the code below, lstbranches1.text always holds the text for the last item they clicked before hitting the button !
I'm probably being really dull, but this is annoying !
Can anyone help ?
Thanks.
++++++++++++++++++++++++++++++++++
For i = 0 To lstBranches1.ListIndex
If lstBranches1.Selected(i) Then
lstBranches2.AddItem lstBranches1.Text
End If
Next i
++++++++++++++++++++++++++++++++++
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|