Or you could have a single panel with 'however-many' buttons. These buttons have NO function attached. Each button will have their button-on bmap being the solid bullet, and their button-off bmap as the grey one. Then you turn them on and off with the "button_state()" function.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial