ShowAxes and ShowGrid with SelectedIndex List and Drop-Down List

jospercomp shared this question 2 years ago
Answered

I am having problems with showing and hiding the axes and the grid in Graphics View 1 because the first click or update in the drop-down list in Graphics View 2 does not show or hide the axes and the grid in Graphics View 1. I am using these commands. It show second click.


SetActiveView(1)

If(index==1,ShowAxes(1, true),ShowAxes(1, false))

If(index==1,ShowGrid(1, true),ShowGrid(1, false))

Best Answer
photo

Is this what you need?

See the script in the 'ind' variable.

Comments (4)

photo
2

Is this what you need?

See the script in the 'ind' variable.

photo
1

I had put the code in the list variable and not in the value of the index variable of the SelectedIndex command. The code is in number and not in the list.

photo
1

Hey hola, JP MATH. Ahora te reconozco con tu logo. :)

A mi pasaba eso, luedo descubri que tenia que ponerlo en el numero que se actualiza. Saludos.

photo
1

Gracias por tu ayuda. En estos conceptos estoy un poco atrás. Igualmente. Saludos.

Hago esta pregunta porque quizás otros usuarios

también tengan la duda y no han preguntado esta duda.

Pero lo cuando geogebra web genera mensajes de error.

Ahi si no podemos hacer nada. Solamente esperar.

Te vas acordar siempre de mi porque tenemos las mismas siglas

en el nombre y los apellidos. Aunque nuestros nombre y apellidos

no son iguales.

photo
© 2023 International GeoGebra Institute