Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

from list1 to list2 and viceversa 1

Status
Not open for further replies.
So what are you stuck on - button callbacks, viewing what is on the list, updating the list? You do not say what you are stuck on.
 
each button are:

> move item from list1 to list2
> move item from list2 to list1
>> move all item from list1 to list2
<< move all item from list2 to list1

tks.
 
You should look at the List1.ListIndex property and the List1.ListCount property, together with the AddItem and RemoveItem Methods.

It's not difficult, even I can do it.


[gray]Experience is something you don't get until just after you need it.[/gray]
 
Given you mention "move all item" I presume you mean all selected items which suggests you have multiselect enabled, in which case I wouldn't use ListIndex. I'd loop (backwards) through the Selected property ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top