Cool custom 3 state toggle switch! A little more work, and code but truly a worth-while result.
That will make Paul happy for sure! Thanks! Rick > On May 26, 2021, at 3:41 PM, Jim Lambert via use-livecode > <use-livecode@lists.runrev.com> wrote: > > go url "http://netrin.on-rev.com/misc/three_state_toggle.livecode" > > This stack contains a group which is a three-state toggle switch. > > The myState of the group contains its current state which is either > "ON","OFF" or "MID" > > You can customize the states' colors by setting the color constants. > > See the group script. > > To use: Either drag the thumb OR Tap at the left, right or center of the > control. > > Feel free to use, change, copy, whatever. > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode