Csound Csound-dev Csound-tekno Search About

[Csnd] FLTK light button event on toggle off

Date2013-05-09 03:57
FromMark Brophy
Subject[Csnd] FLTK light button event on toggle off
According to the docs on FLButton, the light button activates an instrument only when the state changes from checked to unchecked. How can I make a button that will play an instrument when the button is checked and play another instrument that will toggle it off when it is unchecked?