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?
ABG
February 11, 2026, 10:01pm
8
Here is a sample that lets you recycle your long data lists against a small fixed set of display components.
This tutorial is intended for people who need to display a heavily customized scrollable window into a large table. It can also be used as a CardView.
(I needed a pithy title, and "The Elder Scrolls" was taken.)
My sample subject area for my data is the historical or current set of legislators in the US Congress, both Representatives and Senators, with photos (where available.)
Credits for the source data:
Data from https://github.com/unitedstates/congress-legislators
photos from https://…
wikki74
February 12, 2026, 6:38am
9
I have done it in this way now:
Its working as it should, i am wondering if I could shorten the Variable "begriffListe" in any way because i often have (later) the same list of list (in total there are only 4-5 different lists of lists (eg List Ja, Nein, vielleicht, empty)
ABG
February 12, 2026, 10:17am
10