Properties
Similar Topics
Statistics
Comments
3
Participants
2
Subscribers
2
Votes
2
Views
488
Share

CheckBox GG-script runs when you hit F9 (expected behaviour?)
Answered
If you have a CheckBox with an On Update Geogebra script and you hit F9 key in order to recalculate random variables present in your program you will note On Update's script is executed each time you press F9.
In my file I can avoid this using Unique command, but I would like to know if this is an expected behaviour or not. Thanks!
(Geogebra Classic v. 6.0.637.0-offline)
Files:
foro_CheckBox_A...
- 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
On Update significa al ser recalculado, no al cambiar de valor, así que supongo que es un comportamiento esperado y que si quieres que se ejecute al cambiar de valor debes controlarlo de alguna otra manera
Thank you for your fast answer.
I know how to workaround this situation in my file and I know On Click (not available on all objects) and On Update are not the same. No problem with that.
I made some other experiments with a button with On Update scripts and I realized that On Update button scripts run always I hit F9 or I execute UpadateConstruction().
Annoying for me, but I guess this is an expected behaviour.
That means UpdateContruction() or F9 run all On Update scripts?
Thanks!
I think so
but I am not a developer. Perhaps Michael gives better answer
Comments have been locked on this page!