3 Replies - 294 Views - Last Post: 07 December 2017 - 12:14 PM Rate Topic: -----

#1 naye2shy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-December 17

Transferring items from one list box to another

Posted 07 December 2017 - 03:57 AM

Hello,
Im having trouble moving items between list boxes.
In my vb program the objective is to pull names from one listbox and have them appear in a results box by the click of the button. I'm not trying to make the items in the first listbox to actually move..but to appear in the second box. Does anyone know how to achieve this?
Is This A Good Question/Topic? 0
  • +

Replies To: Transferring items from one list box to another

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14175
  • View blog
  • Posts: 56,797
  • Joined: 12-June 08

Re: Transferring items from one list box to another

Posted 07 December 2017 - 07:20 AM

What have you tried?

A list box has a collection of items that show the data, right? Just iterate through the collection (or the selected item collection) and use that indexed value to add to the second.
Was This Post Helpful? 0
  • +
  • -

#3 Radius Nightly   User is offline

  • D.I.C Regular

Reputation: 33
  • View blog
  • Posts: 291
  • Joined: 07-May 15

Re: Transferring items from one list box to another

Posted 07 December 2017 - 11:35 AM

Maybe some part of this may help you:
http://www.dreaminco...a-context-menu/
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw   User is online

  • Bouncy!
  • member icon

Reputation: 6563
  • View blog
  • Posts: 26,619
  • Joined: 12-December 12

Re: Transferring items from one list box to another

Posted 07 December 2017 - 12:14 PM

Copy Items From Listbox to Listbox
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1