L liulifeng77 Active Member Licensed User Longtime User Mar 18, 2016 #1 I create some buttons(same id) in the abmaterial page. "sender" seems useless! anybody know it ,thanks!
I create some buttons(same id) in the abmaterial page. "sender" seems useless! anybody know it ,thanks!
alwaysbusy Expert Licensed User Longtime User Mar 18, 2016 #2 Please explain your question a bit more (code, what you want to do, ...). Sender has no functionality to get a component in ABMaterial. Note that the underlying generated code is HTML and ID's must be unique. You'll have to use the AddArrayComponent() to have mutitple buttons use the same event. It 'emulates' using the same id in B4J, but the generated code will create unique ids. see https://www.b4x.com/android/forum/threads/abmaterial-multi-column-page.63549/#post-408720 on how to use AddArrayComponent(). There are some important concepts explained in this post. Upvote 0
Please explain your question a bit more (code, what you want to do, ...). Sender has no functionality to get a component in ABMaterial. Note that the underlying generated code is HTML and ID's must be unique. You'll have to use the AddArrayComponent() to have mutitple buttons use the same event. It 'emulates' using the same id in B4J, but the generated code will create unique ids. see https://www.b4x.com/android/forum/threads/abmaterial-multi-column-page.63549/#post-408720 on how to use AddArrayComponent(). There are some important concepts explained in this post.
L liulifeng77 Active Member Licensed User Longtime User Mar 18, 2016 #3 yes, that's what I need. thanks very much! Upvote 0