Add a new (non existing) property / variable to an control


Paolo Lops
Hi David, how i can use more time the same html control and set some tag torecognize the calling function?In other ide there is a tag property to each control: is here something similar? regards Paolo

DecSoft

Hello Paolo,

I am not quite sure if can understand the first part of your question, but, maybe by solving the second part you get solved the first one. Certainly, other IDEs like Delphi, prepares an Tag property for their components, however, I am not sure if in App Builder that property have some sense, better said, the same sense than in Delphi.

Anyway, certainly it's completely possible to add new properties / variables to an control in App Builder, for example, this code works as expected:

You can do the above without problem, and, after that, the "MyButton" control have an "Tag" property / variable with the value "123", in this case. Can this be useful for you Paolo?



Paolo Lops

Yes. i think this is a good vay to solve my problem!!


Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.