element Posted November 10, 2003 Posted November 10, 2003 Just like the title: How many controls can a .NET Windows Form feasably hold without massive slowdown or resource hogging? Tom Quote
Moderators Robby Posted November 10, 2003 Moderators Posted November 10, 2003 I created a form with 288 picture boxes (at runtime) on a single form with no visible slow-down. (each picture box contained an image loaded from disk) Quote Visit...Bassic Software
AlexCode Posted November 10, 2003 Posted November 10, 2003 As far as I know there's no reported limit... From my experience I can also tell that there's no mesurable limit. It depends on the machine it is running on. A few months ago I've made an app that have about 600 imput controls (textboxes and grids), not on the same form but the app acts like a wizard and ar the end every single control it's on memory. Like this it runs with no probs on some machines and it hangs a bit (about 1 sec) when coming to the end of the wizard. So... it really depends on the machine. Just an advise... Always try not to put too many controls on a single form, it make that form too complicated to the end user. But you still have a lot of controls if you're using a Tab control with a lot of pages...:D There're methods to overcome that, and show a lot of controls, on diferent "pages" but not having them on memory... If this situation suites you I can show you... Alex :D Quote Software bugs are impossible to detect by anybody except the end user.
element Posted November 11, 2003 Author Posted November 11, 2003 Cool thanks for the responses. I was only wondering that's all, like you say Alex, when you have a lot of tab pages or a wizard style interface you do use a lot of controls. Loading them into the memory when required would be a good idea for many many controls... Thanks again, Tom 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.