Page 1 of 1

Trouble with ctbstate

Posted: 25 Jul 2013 15:17
by aurumdigitus
Have been using the script shown below since ctbstate became available in v12.40.0204 - 2013-05-21. It is one of the most used CTB's on the system.
Since the upgrade to 12.70 the Depressed/Non-depressed status is shown in reverse. This is highly confusing.
Have not been able to follow recent Beta so there may have been a code change missed.
Any incite getting correct button status back would be appreciated. :?

Code: Select all

//My Sticky Button - Left
   #413;
// Toggle Button State
          if (ctbstate() == 1) {
            ctbstate(0);
          } else {
            ctbstate(1);
          }