Get Panel1.getvalue() to controle Knob1 slider value



  • Content.getComponent("Knob1").set("text", Panel1.getValue());
    

    I have a panel counting from 1-10 by 1's. I would like to have Knob1 set it's value based on the number got from Panel1.getValue(). Right now the knob is replacing the text of the knob with that value. What can I change "text" to too direct the knob to set it's slider value according to the Panel1.getValue()?



  • @TNTHM try Knob1.setValue(some value here)

    Dont forget to add

    Knob1.changed()


Log in to reply
 

12
Online

546
Users

2.0k
Topics

16.0k
Posts