How do I stop a forEachChild callback chain?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-20 1:40 AM
When I want to execute a certain callback after a certain widget has been pressed, I use the function forEachChild to reach the wanted callback. But during the execution of this callback, I remove the container from the screen to change the visual environment. The function forEachChild however keeps on calling the callback, even after every drawable has been removed from the root container.
How do I stop this callback chain?
Labels:
- Labels:
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
