MIT App Inventor and 100+ esp32, how could I do this?!

you are make things complicated.
I have an easy way, you just need a boolean variable to remember if any label is highlighted.

The story of my life starts with a complicated approach to thinking. But in the end, it will be simple.

In just two weeks, from knowing nothing about AI2, with the help of @TIMAI2 , @ABG, and @Kevinkun, of course. I'm privileged to have those masters in AI2. I want to thank you again for your time.:smiling_face_with_three_hearts: By the way, it is working as I expected, like a charm.

Back to my lack of understanding...

I want to customize that button, if I enable any of that block, does nothing about what I want. I don't understand what I do wrong. Width and height are working, my logic says that it must work, and the border, background, colors, and so on...

Where did I fail?!

I discovered the fact that when I use the "y" as a variable it modify backward (borders in the cell), but when I use the "button" as a variable, it crashes the companion!!!

I think the Kevin extension may not be designed for already clickable elements that already exist in AI2 basic?! I read in some post here about checkboxes.

I must use the AI2 included buttons? There is no problem with this.

It crashes the same as with the dynamic button, Something I did wrong. but I don't know what.

to find out what happens, use logcat

Taifun

Thank you very much @Taifun . I work only on real/live devices, such as 13"/3K tablet and 24"/4K touchscreen ChromeOS machines. It crashes on those machines.

The above last three problems, with which I "polluted" the thread, it was my fault. I apologize for that. I must stop from running, only for a moment, and read all, including the white spaces.

It isn't possible to customize the design of a button with KevinkunEnhace. That extension is for "layout" and a button is not a layout. The next blocks work now as expected, less the image part from the bottom (the last tree blocks from the right blocks.).

I test all that I think to have any connection with the image and text on a dynamically generated button, but I don't find a way to display an image and text on the same button. Kevin's extension may be developed as text or image in a button, not text and image in a button...

By the way... if another noob like me, wants to spend less time customizing a button, feel free to drag and drop the procedure "procedureQuickCustomizeButtons" on his blocks. For me, it is a real help for all future buttons.

Now... let's play with dynamically generated... spinners, checkboxes, textboxes, and so on...

Somebody might help this image, somebody noob like me of course. Of course, it can't be the best approach, It is only an approach I saw. If you have time/want/can, you can give it a go and see more or less about what I speak about, in my posts above.

US_Lyout_KK_3.aia (83.6 KB)

Anyway... I have no future in AI2. I will remain the same noob forever. The aia above has some variables more that if I do not use procedures to "recycle" some blocks, but with the machines on that will be installed the app, I think that will be no problems.

I want to thank Tim, ABG, and Kevin and all, for the right path that they showed me.

Of course, if someone can do the same in the best practice manner, I will gladly understand and use his approach in the future.

The project is too big to work directly on to test things (the companion on the tablet crashes too often), so I made small test projects for that purpose.

I test the selective variables actualization between procedures and I'm stuck. I don't understand why I can't obtain data from dynamically generated text boxes. Does somebody have an idea what I understand wrong? To test the logic chain I put the "aaaaaa" and "bbbbbb", it seems that arrive where must arrive.

test_val_proc_to_proc.aia (54.3 KB)

@TIMAI2 ... no idea?!

is this what you want?
when click the button, set lable's text as textbox.text?

here is one way to do so:


test_val_proc_to_proc (1).aia (52.7 KB)

thank you @Kevinkun , yes this is what I want but... in two different native arrangements, ex: HorizontalArrangement1 - HorrizontalArrangement2! I play with the visibility of the HorizontalArrangements, so... I want to write in HorizontalArrangent1 in a textbox, and push a button that hides HorizontalArrangement1, make visible HorrizontalArrangement2 with a label that has the value that I set in the textbox in the HorizontalArrangement1.

HorizontalArrangement1 has a textbox and button, and HorizontalArrangement2 has the label.

Thank you, Kevin, solved!

@Kevinkun , can you give me an example of how the propriety.clickable on set.value can be used?

As above it doesn't work for me. I changed it with propriety.visible and it works as expected it.

Here is the .aia where I test it in many places.

test_bidirrectional.aia (64.0 KB)

what is the cell? label? button?
clickable property only works on a label.

That is the problem, "cell" is VerticalArrangement. Any idea on how I can work with "clickable" on Arrangements, activate/deactivate the "clickable" proprieties?

onclick and offclick?

I generate all Arrangements (the red borders cells) with the CompCreator and the "overlayed" green borders with OverlapWiew on the same AI2 native VerticalArrangent.

I must make all the red border Arrangements non-clickable when the green Arrangement is shown and make all red borders clickable again when the overlayed green border cell is closed (from the button).

in cell.onclick event, check if the overlay view is visible.

and how I make the red border cells propriety.click "false"? I can make the red border cell's propriety.visible to "false", but I want it to remain visible but un-clickables.