?
Solved

swapping items in two listboxes in a Windows Application

Posted on 2006-07-17
3
Medium Priority
?
343 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
[X]
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
3 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 2000 total points
ID: 17124481
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 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