Properties
Similar Topics
Statistics
Comments
5
Participants
4
Subscribers
4
Votes
1
Views
721
Share
Answered
Hello.
I create a Slider. Its name is "a".
I create a script in "On Update" for this Slider.
Can I get the value of this slider after changing for using in the script?
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
The name a is also used for its value, so a gives you the value and you can use it anywhere to refer to the value of the slider.
chris
Yes, %0 gets replaced with the object's name eg
el supuesto script funciona perfectamente pero es de un comportamiento totalmente impredecible pues no sabemos en qué punto va a terminar el deslizador
intenta predecir qué valor va a tomar el deslizador cuando yo lo mueva con el raton
si lo uso escribiendo por ejemplo setvalue(n,5) en la linea de entrada el deslizador se mueve a 2 como era de esperar
hay que conocer que setvalue() dentro de un script no se considera un update del valor del objeto para no tener scripts en bucle infinito
Comments have been locked on this page!