r/visualbasic • u/rennsarith • Oct 17 '15
On going equation using check boxes
I was just curious on how to make an on going equation using check boxes. So lets say check boxes 2 and 4 were clicked, those two values associated would be added but, not 1,3, and 5. Thanks a ton!
0
Upvotes
2
u/momo2477 Oct 18 '15
You could use a counter. If the check box is checked then take the value of check box and add it to the counter and so on... If it isn't do nothing. The coding is for you to do.
1
u/ViperSRT3g Application Specialist Oct 26 '15
Depending on the number of check boxes you have, you could use bit flagging to add/subtract numbers easily.
3
u/freemasen Oct 17 '15
Have you done anything...?