Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

swapping items in two listboxes in a Windows Application

Posted on 2006-07-17
3
338 Views
Last Modified: 2010-08-05
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.

Thanks.

0
Comment
Question by:mock5c
3 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 500 total points
ID: 17124481
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question