Multiple Button for Multiple Textboxes: When Button clicked

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

Screenshot_3

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?

Screenshot_5

But actually I am finding no way (in Germany we say "Ich steh gerade auf dem Schlauch....")

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

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

As long as the button and the textbox are in the same index position in their respective lists, then you will be OK.

Study How to Work With Lists:

This could be made, could you please give me an example how to handle it then?