Christie Widget Designer Version 6 - Q&A
Moderator: Moderator Group
Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.
by pianist » Sun Dec 02, 2018 8:52 pm
I have 70 Custom Script Buttons each executing a unique fade duration (with a unique variable) when clicked. I want to create an easy programming for each of those variables. Rather than having 70 faders (or wheels or encoders) for each Custom Script Button, I would love to have just one single wheel to first select any of the 70 variables ready for receiving the input from the second wheel which sets the fade time of the selected variable. How to accomplish this?
Jacob
-
pianist
-
- Posts: 29
- Joined: Mon Mar 30, 2015 1:02 pm
by Chris Bowman » Mon Dec 03, 2018 11:52 am
Hi Jacob,
If I were you I would create a List variable containing my 70 values. Create two Encoder wheels. Set the range of the first from 0-70. The range of the second is up to you!
Create a 'Save' Button and use the following code to update:
- Code: Select all
MyList[Encoder1.Value.ToInteger] = Encoder2.Value
Chris
-
Chris Bowman
-
- Posts: 27
- Joined: Thu Jan 07, 2010 12:01 pm
by pianist » Tue Dec 04, 2018 4:59 pm
Thanks! This helped me a lot!
Jacob
-
pianist
-
- Posts: 29
- Joined: Mon Mar 30, 2015 1:02 pm
Return to Widget Designer V6
Who is online
Users browsing this forum: No registered users and 19 guests