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?
The easiest way once you have broken the data into their respective lists is to do something like this (pseudocode)
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.