Not sure how to iterate through a list of child controls.
I'm somewhat new to c/c++ programming. Come from 20+ years of experience with VB/VB.net and have mostly been spoon feed...lol
Anyway. I have a custom container that has a container with 19 children shapes. I need to interact with them at run-time.
the container is called ticks, and all the children widgets are of the shape type.
I see where I can use the forEachChild to iterate through all children.
Only problem is I have no idea how to use this and it returns an object of Drawable type that does not allow access to the shape's specific methods like setShape.
Does anyone have an example of how to use forEachChild?
