PlasmaZero
Programmer
I'm making a prog where the user selects something from a combo box and clicks a button to add it to two listboxes, one for the string itself and another corresponding one for the quantity. The user can select the string in listbox #1 and move a slider to adjust the quantity. However, when I try to add an item after adjusting one of the quantities, it gets moved down. For example,
String 3
*click*
String 1
String2 3
It looks to me like the index of the quantity string is going up one every time (as if when I add a new string it becomes the new 0), except that my code is simply:
listbox1.addstring(string)
listbox2.addstring(1).
Any ideas on why this would happen?
String 3
*click*
String 1
String2 3
It looks to me like the index of the quantity string is going up one every time (as if when I add a new string it becomes the new 0), except that my code is simply:
listbox1.addstring(string)
listbox2.addstring(1).
Any ideas on why this would happen?