Input Box attach to movable point
I am currently experiencing a problem that I'm hoping someone could help me get rid of:
I've defined a slider a, which takes the value 0 or 1, a point A=(a,0) and finally an Input Bar which position starts at A. Now, in the Geogebra Applet the Input Bar moves along with the point A as the value a changes from 0 to 1 (or 1 to 0), exactly as one, or at least I, would expect it to do.
In addition I have created a button that simply changes the value of a and, hence, also the point A=(a,0). And here is the problem: In the Activity view the Input Bar does not move along with the point A as I press the button and I just can not see why.
Have I made a mistake and in that case can anyone tell me how to fix the problem or do you experience a similar problem?
Edit: I am using the online Geogebra Applet
put in properties of A-->scripting-->on update the command updateconstruction()
please attach the file or a link to resource
Comments have been locked on this page!