1 start a new project, standard exe
2 add two list boxs two form1
3 make the list boxes share about half the space of the form, each fully visible
4 open the code window and add the following code to the Load event:
Code:
Private Sub Form_Load() ' when the form loads....
List1.AddItem "Rockage" ' add this along with the following to the one list
List1.AddItem "owns"
List1.AddItem "you"
List1.AddItem "so"
List1.AddItem "bad"
End Sub 5 add the following code to the DblClick() event of list1:
Code:
Private Sub List1_DblClick()' when an item is double clicked on the first list
List2.AddItem List1.Text' add that item to list two,
List1.RemoveItem List1.ListIndex' remove that item from list one
End Sub 6 add the following code to the DblClick() event of list2:
Code:
Private Sub List2_DblClick()' when in item is double clicked on the second list
List1.AddItem List2.Text' add that item to list two
List2.RemoveItem List2.ListIndex' and remove that item from list two
End Sub 7 run the program
more to come ~!