What are the benefits to detaching the children of a control?
I'm repairing a clients robotic project and I see that they often use the method detach on the children of a control, but never perform a rematch for the control. Is there any benefit to detaching a controls children, especially right before the automation switches screens?
There is no real reason to do this. Matching should happen automatically and unless a specific case is warranted, you are likely not required to Detatch from a a control. If you perform a Rematch, it has the option of detatching from any children. I've more commonly used this method when Runtime isn't properly notified when controls are destroyed.I cannot come up with a specific scenario in which you would detatch without a rematch, so it must be an extraordinary circumstance.