Delay on command (The model of event processing in App Inventor)

firstly, I apologize if there's already a topic discussing this problem, I dont find it with my keyword, I dont know what this problem named, please give me the link of the topic.

IMG_20250405_161323
I wonder why the second line ('tan' button's text) cant immediately measure label.width after it's text changed, i mean it is located under the new text, but still give result of previous text width.

IMG_20250405_161826
IMG_20250405_161843

I found one way to solve this, using timer/clock, so the measuring executed at a little bit of time after that changing, but it gives another problem if someone type faster than timer time.
so my problem is, can i do it without clock? without await async?

sorry for the dumb problem, thank you for the answer.

https://groups.google.com/d/msg/mitappinventortest/m8i32I2m200/Am3VYo3DTIUJ

1 Like

thank you so much mr

The model of event processing in App Inventor is what ABG refers and links to in the old App invertor forum is discussed in a paper by Turbak, Sherman, Martin Wolber and Pokress is in the paper here

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