Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6123645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:02:27+00:00 2026-05-23T16:02:27+00:00

I have 3 list boxes. I am splitting a text file to sort the

  • 0

I have 3 list boxes. I am splitting a text file to sort the data using regular expressions into the proper listboxes.

At the end of the sort, the user is displayed the 3 list boxes with all of the items in each. However, I want the user to be able to select one (or multiple) lines in a left, middle, or right list box. Once an item(s) is selected the user may click on a button to “move left” or “move right”. depending on which box the user is focused on (left, middle, right) will determine where the selected item will move to.

So if the users wants to move an item(s) from the left list to the right list he/she would select the item(s) in the far left list and click the “move right” button. Now the item will be removed from the left list and added to the middle list. Now the user must select it from the middle list and click the “move right” button again to remove it from the middle list and add it to the right list.

If there is any way to move the item all of the way from the left list be clicking twice on the “move right” button that would be even better.


Does anyone know how to go about this in a somewhat simple matter?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:02:28+00:00Added an answer on May 23, 2026 at 4:02 pm

    The easiest way once you have broken the data into their respective lists is to do something like this (pseudocode)

    //from left list
    buttonToMiddle()
    {
      listMiddle.add(selected text);
      listLeft.remove(selected text);
    }
    
    //from middleList
    buttonToRight()
    {
      listRight.add(selected text);
      listMiddle.remove(selected text);
    }
    

    You get the idea, it’s really easy and also you may also want to look at any other ways to implement it more efficiently maybe using switch statements and giving the buttons an id or some sort.

    This is just a global idea and easy way to do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of file input boxes and I want to know if
In my interface I have a list of text boxes, something like this :
I have a file that I am reading in, splitting up into different lists
I have list of items with check boxes using this code: ProcessList = (ListView)
I have 2 list boxes (ListA and ListB) that display data from different entities
I have a list of check boxes. For the check boxes that are selected,
I have a simple list view with some check boxes in an alert dialog.
I have a form with a list of people with check boxes next to
I have several listboxes that get each of their data from a separate stored
I have two list boxes like show below, side by side. They both have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.