B
Bob
If I have ControlX that contains ControlY, and the user clicks on ControlY,
I want to catch that in ControlX. I know I could use the OnControlAdded
override to add a click event handler to every control added to ControlX,
but that only works one level deep unless I recurse through all the children
and also handle every child's ControlAdded event, which is kind of ugly. Is
there a better way?
TIA,
Bob
I want to catch that in ControlX. I know I could use the OnControlAdded
override to add a click event handler to every control added to ControlX,
but that only works one level deep unless I recurse through all the children
and also handle every child's ControlAdded event, which is kind of ugly. Is
there a better way?
TIA,
Bob