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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top