how can I set the value of a slider in slider minimum?

Cecilia Lucía Gigena shared this question 2 years ago
Answered

I want to restart a simulation in certain condition.

I've already tried setting minimum and maximum using variables, but it makes me fall in a circular definition. Is there any other way?

Comments (4)

photo
1

see the script in the 2 buttons

photo
1

However, setValue (a,a+1) changes the value bounds of slider a!? By what law is not clear.

photo
1

I mean:

if min and max are set, then the command SetValue(a,a+1) does not shift the limits in any case.

photo
1

Yes, you're right! I used a=a+1.

photo
© 2023 International GeoGebra Institute