3-way slider control

Jim Lambert jiml at netrin.com
Wed May 26 15:41:18 EDT 2021

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

More information about the use-livecode mailing list