Using anybutton, how to get the name

Is it possible to use anybutton and recognize the button pressed by the name instead of the text?

How to obtain the name of a button dynamically?

Is this what you mean?

do you mean like this :

blocks

I think you mean like this:

blocks (1)

See Also :
http://ai2.appinventor.mit.edu/reference/other/any-component-blocks.html

I would have Button.Name but I'll try your solution with If get component =
Many thanks

Okay, You're welcome

Hi Salman_Dev, your suggestion runs well, tank you very much

You're welcome @patel :innocent: :+1:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.