swapping items in two listboxes in a Windows Application
Posted on 2006-07-17
Does anyone have code that does the following:
A form has two listboxes side-by-side. Between the listboxes are 4 buttons that have text like this:
Initially the left listboxes contains items. If you highlight items and press the ">" button, the item disappears from the left listbox and appears in the right listbox. If you click the ">>" button, all of the items in the left are moved to the right. The same behavior applies to the other two buttons but in the reverse direction. Surely, you've seen this kind of functionality in some MS applications.