I want to check un check togglebutton but I don't know how to alter using mapbasic. Is there any command to alter it? I could not find it in MapInfo user guide. I have command:
But how to use I don't know how to provide Id to buttons?
You first need to add a ID to your custom button when you create it:
Then you can alter the button using:
You can also do:
button_sub_proc is the method that the button calls.
Although using the method way, if you have more then one button calling that method they all get updated.