vb.net - (RESOLVED) VB: Transfering all text from one listbox to another -


thanks reading guys first of all. secondly i'd button1 transfer text listbox1 listbox2. when button1 clicked, items in listbox1 transfers listbox2. here have, again:

private sub button1_click(sender object, e eventargs) handles button4.click     listbox2.items.add(listbox1.selecteditems)  end sub 

using vb2012

to copy items 1 listbox (listbox1 -> listbox2):

listbox2.items.addrange(listbox1.items) 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -