Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All,

I have created a child form and I want to inherit this form on to the parent form. I did it using Visual Inheritance. On my parent form I can find glymphs of child form. My question is can I move, resize the controls of the child form being in the parent form. Please let me know how to do that.
Posted
Comments
Sergey Alexandrovich Kryukov 6-Jan-12 6:02am    
This is beyond good and evil. What is "being in the parent form"? What is "parent form", after all (parent-child relationships between forms are not functional)? How is this related to inheritance? I'm not even sure you have to answer. Better learn things a bit better to understand what to ask about.
--SA
Nara Har 6-Jan-12 6:20am    
Need to get the replica of FormA onto FormB. I did this. But all the controls of FormA are locked when placed on FormB. Now I want to move them. Is it possible?
Dave Kreskowiak 6-Jan-12 14:54pm    
No, it's not possible to move the controls. The point behind inheriting is to inherit the EXACT look of the parent. The only way to move the controls is to move them on the parent form.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900