Comando para cambiar la longitud de una Casilla de Entrada

jospercomp shared this question 1 year ago
Answered

Con cual comando puedo cambiar la longitud de una Casilla de Entrada (Textbox) de 20 a 5.

Comments (9)

photo
1

fb380f69947d661563e98a76aa723b8e

photo
2

me parece que estás pidiendo comandos para todo y no entiendo la necesidad de hacer los cambios mediante comandos y no dejar ya en su forma definitiva los objetos

doy por sentado que conoces todos los comandos que existen y por tanto casi todo lo que preguntas tiene una respuesta negativa.

si de verdad necesitas cambiar la longitud de una linea de entrada no lo puedes hacer dinamicamente, si de lo que se trata es de que aparezcan uno de dos formatos puedes hacer dos casillas distintas y forzar la aparicion y desaparicion de la que sea adecuada en cada caso, el efecto es el mismo

sin embargo, si la contestacion de alfabeta2 es lo que querías entonces no debes solicitar un comando sino la forma de hacer algo con un cómo puedo o algo parecido

photo
1

Lo que ocurre es que cree muchos proyectos que tienen los mismo objetos pero diferentes funciones y ir uno a uno por actividades me ahogo mas tiempo programando que estar haciendo en cada actividad que ya realice los mismo como 100 veces. Los comando me permiten crear y editar objetos que son similares en varias actividades por eso es que me encanta programarlas en GeogebraScript o JavaScript. La idea de usar comando es AHORRAR TIEMPO.

Mil gracias siempre por su colaboración Juan Vicente Sánchez

Gracias a GeogebraScript y JavaScript cree este libro.

https://www.geogebra.org/m/paxjwmxh

photo
2

I think that the global functions contained in the attachment can solve many of their questions.

I am available to answer questions in English.

.

PS:

In general, your goal of reducing the effort can also be achieved (in part) with Custom-Tools. https://wiki.geogebra.org/e....

photo
1

Wow. Amazing.

Thank you very much Raymond Ami. I had never seen any XML function codes programmed. You should create a book about XML Code Snippets. I created a book about JavaScript Code Snippets.

https://www.geogebra.org/m/paxjwmxh


I understand English and I can write in English.

Do you have more codes using XML functions?

photo
1

Thanks for feedback.

Yes I see your JS-book, it's of great value.

For me it's OK, when you use the global XML-functions in your book.

I have no idea what it's possible to do more with xml (on level object)

I thinking to a connection between Custom-Tool to an GGB-script/JS. But it is not stable at this time.

And I have an (simple) idea on how to create a cross reference (over n level, only for objects and not for scripts) that would not need a parser. If you are interested in realizing it, I can describe the idea. But it is a risky project whose successful completion is not secure (asynchronous processes with onUpdate listener)

photo
1

You could help me with this problem.

How to create an adjustment of the position of the input box with respect to a slider.How to add a setting given the position of a slider so that the position of an input box remains on the right side of a slider by varying the position of the slider in the views and the dimensions of xmin, xmax, ymax, ymin. I need to create a model that places this ratio so that the entry box remains located on the right side of the slider whether the slider is in view one or view two.

In this link is the code to add. In this link is the code to add what the code is missing so that it is correct.

https://help.geogebra.org/t...

photo
1

I still do not use the global XML functions in the Snippet Code of JavaScript book; because I do not know much how to use global XML functions. I had never used XML global functions before. If you know tutorials that explain these functions and how they are implemented. If you could send me those tutorials.

photo
2

I think no tutorials exists.

But you can use the scripts as black box.

With showXML analyse the xml of diffenerents objects.

Note the uniform hierarchical structure.

Guess (!) what the tags / properties could mean. In most cases it is clearly.

Note that properties that match the default value are often omitted in XML.

Check your theses by changing properties and checking with showXML.

photo
© 2020 International GeoGebra Institute