is it possible to determine a control via formula?
I have 20 labels: label1, label2, ...
I also have 1 textfield and a button.
In the textfield, I can enter a number between 1 and 20.
By clicking on the button, I want to change the color of the label with the number I entered in the textfield.
So the OnSelect function should be something like this:
label & [textfield.text].fill = red
In fact: if I have entered in the textfield a "5", label5 should be filled red.
How can I do this?
Thanks and best regards,
Solved! Go to Solution.
@yashag2255thanks for your replay.
Of course that would be possible, but I would like to have a solution where I don't need to adjust for every control the fill function.
It was only an example for a more complex problem and therefore I need a possibility to change a setting of a control that is determined by a formula.
Do you know what I mean?
Is it possible to create a variable via a formula?
Set(myVariable & TextInput1.Text; "Red")
So I get for instance a virable myVariable10 with value "Red"?
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021