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!!


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.