fj fj

fj fj

  • NA
  • 6
  • 0

CheckBox(es) with a number attached

Nov 16 2005 1:55 PM
Hi there.
I was wondering about CheckBox.
Let´s say one has 10-15 CheckBox controls and wanted to attach a number to each of them (I am not talking about the Text property). For instance cb1 has 250, cb2, has 165, cb3 has 300 and so on. When the checkBoxes are checked could the numbers attached to each checkBox be added together but only the numbers attached to the checkBoxes that are checked?
So if cb2 and cb3 are checked the program would add together 165 and 300.
Thanks,

Answers (1)