I've used @Taifun's sample code pattern with generic blocks in several projects already.
However, the every block would fail me if I had more than one radio button (list of checkboxes) or if I was dealing with components lined up in rows and columns, where enumerating the components in lists was needed to establish context (row and column number) working backwards from a component, using the INDEX IN LIST block.
Maybe an EVERY COMPONENT in CONTAINER block would be more useful for cases more complex than single radio button samples.
I finally thought of a use case for the EVERY component block.
Setting themes, like dark mode, where you want to flip colors regardless of context or function. Or maybe language fonts, if you've got the .ttf and license.
for "custom font typeface support", I tried materialIcon, it's working fine on label and button.
For FontAwesome icon, I can set the htmlFormat of label to true and set it's text as "&#x" + its unicode.
but how to set button use fontAwesome?
And I got an error when try to connect companion (running in LDPlayer android emulator, Android 7.1.2 ):
Your emulator needs to have the test Companion.apk file dragged into it.
Get the test Companion.apk file from the ai2-test Help->Companion Info pulldown.
b_p56G_lectura_rapida_copy.aia (198.4 KB)
Installed it works, but with MIT Companion 2.66u it gets this error:
Error from Companion: Font asset not found /storage/emulated/0/AppInventor/assets/comic.ttf