wikki74
February 11, 2026, 3:36pm
1
I am planning to have an app with multiple Buttons and Textboxes (about 50)
How could I shorten this, in order to have not 50 x whenButton.clicked
There has to be a way of creating Buttons Lists (Buttonlist letters, Buttonlist for numbers...)
But how can I assign the Buttons "Letters" to Textboxes that should show Letters and so on?
But actually I am finding no way (in Germany we say "Ich steh gerade auf dem Schlauch....")
TIMAI2
February 11, 2026, 3:54pm
2
Not quite sure what it is you want, but you could either have aligned lists of buttons and textboxes and use indexes to select the correct textbox from a button click.
Or dispense with buttons and textboxes and use a listview instead (perhaps with a choose notifier)
1 Like
wikki74
February 11, 2026, 4:31pm
3
When Button1.clicked set Textbox1 Text to....
When Button2.clicked set Textbox2 Text to....
When Button3.clicked set Textbox3 Text to....
Later it could happen that Button and Textbox are not the same number, eg.
When Button31.clicked set Textbox50 Text to....
TIMAI2
February 11, 2026, 4:36pm
4
As long as the button and the textbox are in the same index position in their respective lists, then you will be OK.
wikki74
February 11, 2026, 5:13pm
6
This could be made, could you please give me an example how to handle it then?