I have a problem, whit the outstanding explanation of button_state function from the manual:
button_state(PANEL*,var num,var state) Changes or returns the button state of a panel.
Parameters: PANEL* Panel pointer. num The number of the button, starting with 1. state The new state of a radio or toggle button, ON (1) or OFF (0). -1 leaves the button state unchanged.
from where starts the COUNTING ?
Which button is 1????? The first declared on the panel ? Do I need something more to set the state of all the toggle buttons of a panel?
I tried it back in 7.73 and it worked then. Are you sure your buttons are radio OR toggle buttons? And when counting buttons to get their number, you DO have to count notmal buttons too.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial