This thread helped me a lot LUA: UI
currently I'm created some screens using that code, but there is one thing I'm currently looking for.
on creating custom buttons like this:
actions are linked to that button using:
finally, I catch that click action using:
In this example, caller.Text will return the value of that button, which is "Text displayed on the button"
mostly, it worked well for me, but I'm wondering if we can check which properties are also available to set for (in this example) a custom button? With properties, I mean like those in my example code: Text, PluginComponent, Clicked , ..
The goal I want to reach is to check if I can store extra information within that button object, which can be collected when I press that button.. like for example some ID's, or other info.
this code is not working, but I try to do something like:
so when I click that button, I can retreive that Metadata information like