This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Multistate knob widget
#3
It's possible to create a multi-state button using send fixed value attached to a virtual object. Set the multi-state object as status. Use additional icons to set an icon for each state.
Map an event script to the virtual object. Each write to a virtual object will change multi-state value to the next one (0, 1 or 2).
Code:
out = '0/3/3'
val = grp.getvalue(out)
val = (val + 1) % 3
grp.write(out, val)
Reply


Messages In This Thread
RE: Multistate knob widget - by admin - 9 hours ago

Forum Jump: