The easiest way to achieve this is for the child window to attach a parent’s function to the collect event. That way, the parent window will know where the event occurred, and can take care of closing the child window too.
The easiest way to achieve this is for the child window to attach a parent’s function to the collect event. That way, the parent window will know where the event occurred, and can take care of closing the child window too.