R
RMalston
Guest
Hi everyone! Bear with me here, this may be a bit long winded. So for background, Im doing a project where I read in a text file via the Open File Dialog and then attempt to populate a baseball diamond with the respective players in each position. This text file contains the position number, name, batting average, #HRs, #RBIs, and Salary.
For Example:
3, David Ortiz, .335, 46, 129, 13000000
Player 2...
Player 3...
etc.
I have a checkbox to view players by position (1-9) and checkboxes to view players by salary. How do I go about updating the listbox of contents say if a user wishes to only view third basemen who cost less than $500,000/year. Im attempting to be able to remove players from the listbox to fit with what the user wants to see, and then replace them back into the listbox when the respective checkboxes are selecting.
Any help would be appreciated!!
Continue reading...
For Example:
3, David Ortiz, .335, 46, 129, 13000000
Player 2...
Player 3...
etc.
I have a checkbox to view players by position (1-9) and checkboxes to view players by salary. How do I go about updating the listbox of contents say if a user wishes to only view third basemen who cost less than $500,000/year. Im attempting to be able to remove players from the listbox to fit with what the user wants to see, and then replace them back into the listbox when the respective checkboxes are selecting.
Any help would be appreciated!!
Continue reading...