Hello,

I have a very long MDI child form, I have implemented this by using a picture box on a Form. In this picture box I have lots of labels, text boxes and a few flexgrid controls. Basically there one label array and one text box array, but within each array there are a few hunderd controls.

Now the problem is that why I run this application and try to open this form, I get a "Out of Memory" message. The application compiles and all other smaller forms work properly.

Has anyone encountered something like this and is there a clean solution or atleast a work around for this?

Thank you

PS: Because of the application requirements, I cant break this one huge form into multiple forms.