1
Answer

CheckBox(es) with a number attached

Ask a question
fj fj

fj fj

18y
2.3k
1
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)
Next Recommended Forum