How to set parent controls.