Sliders hiding when changed

Eric Hdz shared this question 3 years ago
Answered

If I create a slider, I can assign its value by using the command line. If I assign it to a plain decimal number, nothing strange happens. However, if I assign it to any more complicated expression, say 3/2 or sqrt(2), it automatically hides. To show it again, I have to click on the Value property on the Basic tab, then go into the slider tab specifically (other tabs don't fix this for whatever reason), and then go back into the Basic tab. This convoluted behavior seems unintended.

Comments (1)

photo
2

To change the value of a Variable without changing the definition it is better to use scriptcommand

SetValue(s,sqrt(2))

© 2023 International GeoGebra Institute