This can only be done with the DynamicComponent or RecyclerList extension, not with the native DynamicButton component.
The previous question was on how it works for each button, its name and ID By name and not by number the way you mentioned to me
The id you receive in ButtonClick is a number, so doing it this way doesn’t work.
Here you were talking about the name, not the id, so I thought you were referring to the text.
Anyway, if even like this it’s not good for you i don’t understand what you want to achieve.
@lite_one Are you looking something similar to this?
Dyna (1).aia (44.1 KB)
I know how the construction is done, but you built it beautifully and in a wonderful style, well done … But that doesn’t solve the problem I’m facing ..
I have already tried it, but the application is applied when I press the main button and not the sub, it executes the working commands despite the commands for the sub button
I will explain to you in blocks there is something called kpath and other blocks .. I want to link one of these to the text of the button I want to press .. If there is not enough and adequate explanation .. Am I sending you to explain details to you !!!
If you want something to be executed when pressing a section and not a category,
you must replicate this
and instead of Category2 write the name of the section CXsectionX.
Can you attach a file so that I can see how and how the blocks I mentioned in the picture work
I’ve already sent it, and we only made two little changes.
I’m out of the house now, but it really takes less than a minute to recreate the two changes.
You are in the second blocks different from the first, only the ID, What do I put the ID because in the previous file there are 3 of them !!! I got confused in this
The will take a month to be solved, don’t you guys think it’s because of Dynamic button limitations? Why don’t you suggest using Dynamic components or Recyclerlist?
But not that much, my only problem is understanding clearly what lite_one wants to achieve.
You know how I think, for me, everything is possible within certain limits.
Then at first I tried to steer him toward RecyclerList, but when he specifically asked for DynamicButton the challenge kicked in ![]()
I’ve tried and researched and I haven’t found anyone who explains like that clearly.. But I asked him a question, there is a difference in the world, I don’t know why this silence .
Regarding the extension, use it after pressing a certain button, for this I asked you, you sent me two photos, the first from the file and the second with different names!!!
This message was to tell you to make the mentioned changes.
I’m sending the final project with everything together and the condition that changes the color based on each button clicked (categories and sections).
NestedCategoriesFinal.aia (7.7 KB)
Although to be honest, I still don’t understand whether this is what you are trying to do.
Thank you Now I’m going to finish my project thank you and repeat my apologies again sorry I tired you
But no, don’t apologize, I’m the one who’s sorry, because I could have understood better and solved it right away.
Happy
oding
Hello, can I message you personally because I have a problem with the button
No problem,
The only things you should change are
- stopButtonGenerationAt in case the subcategories increase
- and for each number from 1 to 10 by 1 delete button(id)

