Using the ID of the buttons should simplify this a lot.
The idea is that you code this somewhere else than in the button's events, and the pattern should just reflect the ID numbers.
I don't have the time right now to go more into it or to provide code..
The idea is that you code this somewhere else than in the button's events, and the pattern should just reflect the ID numbers.
I don't have the time right now to go more into it or to provide code..