How can I refer button.text (clone one)

I do clone button and it’s text shown difference. I want to read text on each button . How should I do?

Can you please share a screenshot of your code @yinnatthachatfly? I’ll see what I can do.

clonebuttonscreen2

As code ,button1 clone for each dayname .After cloning process we get a screen show dayname in each clone button. I want to check from my data, if button.text=‘TUE’ we’ll do something or if button.text=‘WED’ we’ll do something.

1 Like

When you clone a button or any other component, you are placing the cloned component in a container. This container could be one of three options (screen, row, column)

You can then use the list of available buttons in that container to manage the components.

This example is taking the text of the 3rd button in the column and displaying it in a label.

Thank you so much. I’ll try .

1 Like