Prev: How to get gradient of the curve, please help me
Next: loop vs matrix multiplication: speed vs memory
From: Ash on 4 Apr 2010 21:00 Hello Everyone, I am having some issues using the Listbox feature of the GUI programming interface. I have two listboxes, A and B. I also have two PushButtons named "Add" and "Delete". Listbox A displays a list of products. I select a product from ListBox A and I press the "Add" button. This product should then be added to ListBox B so that it appears in the listbox. I want to add each selection one at a time from ListBox A with each press of the PushButton. Unfortunately, I keep getting an error message about multiple item selection. I realize this has to do with the MAX and MIN values of the ListBox. After altering the values so that MAX - MIN > 1, I get some bizarre behavior. When I click the "Add" button, ListBox B completely disappears. And I mean like the box and the scroll-bar, everything, completely disappears for ListBox B. ListBox A doesn't seem to be affected. If anyone could help, I would be very grateful and eternally in your debt. Thank you kindly. |