NicoVB Posted July 12, 2003 Posted July 12, 2003 I have a big form with a tabcontrol with a lot of tabs(20). But when I'm developping my program I'm facing during developping a lot of time spent during saving the project, because of the fact that I have on ONE form around 300 controls allready. So what do I have to do to spend not so much time. Maybe this is an idea: For each tab I can create a FORM which I can include in my tab. But how do I do this programmatically??? Thanks Nico Quote Visit http://www.nico.gotdns.com Now ONLINE!
*Experts* Volte Posted July 12, 2003 *Experts* Posted July 12, 2003 No tab control should ever have 20 tabs on it; that's usually very poor design (I'd have to see it to judge, but I can tell you right now it's probably pretty bad). To answer your question, there's no real easy way to do that... you could make it add all the controls onto the tab programatically, but the problem arises when you have code in the controls. To do what you're suggesting you'd need to program your own designer as well as some sort of Windows Forms host. My suggestion is that you break the program down into small forms that are related in function, rather than try to cram everything onto one big form. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.