Hide start/stop Button for animation

Birgit Lachner shared this question 1 year ago
Answered

Hi everybody,

I searched the old threads but did not found answers to this question.

I have a slider that is used to limit the time. I wanted to make the start/stop button for the time slider invisible, because I do not want the user to stop the time-flow.

I tried to "bring" the start/stop button to the other grafic-view but this does not work.

Any ideas? Is this possible or not?

Birgit

Comments (4)

photo
2

do all speeds of sliders dependents eg: speed for slider a =b being b=1, speed for slider c=2b


then the button is invisible

photo
1

Thanks!

photo
photo
1

Hi,

use a boolean variable named "show", to show/hide button (properties),

and in the ONCLIC script of the button:

SetValue[show,false]

and in the OnUpDate script of the slider "time" :

SetValue[ show , If[ time=="limit of time" , true , show ] ]

...

photo
1

Salut Patrick,

I don't mean a common button. But the button to start/stop an animation that is shown automatically.

photo
© 2020 International GeoGebra Institute