gecko_au2003
Banned
- Messages
- 50
If you change the style of a listbox from simple or normal or w/e it is in the properties window to checkbox. It makes it show every item you add to it with check marks, my question is , how do you detect which checkbox is checked and relate values ie double or integer values to each item in the listbox and then do a sum of every checkbox checked after all the ones the user wants to check are checked.
Ive managed to relate values if it is just a normal listbox but I am stuck with this. I found some examples using a for loop to go through the whole listbox to see which ones were checked but that dont work because it just does some weird stuff that I cant figure out.
Any coding examples or URL's that point me in the right direction would be very much appreicated !!
Thanks in advance to anyone who can help me with both of my problems, especially the other problem !!
Ive managed to relate values if it is just a normal listbox but I am stuck with this. I found some examples using a for loop to go through the whole listbox to see which ones were checked but that dont work because it just does some weird stuff that I cant figure out.
Any coding examples or URL's that point me in the right direction would be very much appreicated !!
Thanks in advance to anyone who can help me with both of my problems, especially the other problem !!