Random List Box Choices

Joined
Jun 17, 2011
Messages
2
Reaction score
0
Hello, I have three listboxes on my form. I have items in ListBox 1 and items in ListBox2, and Listbox 3 is empty.

I would like to be able to take 1 random item from each of the first 2 listboxes and place them into the 3rd empty listbox. I can shuffle the items in the first 2 listboxes, but don't know how to go about choosing a random item from each listbox, and then placing those two items into the 3rd empty listbox. All the items are strings. Thanks for any help in advance.


Zcast
Programming Noobie
 
Back
Top