0

Loading multiple child forms from a loop into a MDI parent form. They are displayed one at a time. I would like to display all the created forms at once. I tried only using the .Show() method after they are all created, but they still only display one at a time.

Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
Thomas
  • 342
  • 11
  • 29

1 Answers1

1

Perhaps layouting your children forms using the MdiLayout Enumeration.

Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
  • Thanks, will try it and let you know – Thomas Jun 29 '10 at 12:53
  • It still seems to draw the child forms one at a time as there is processing that takes place in each one – Thomas Jun 29 '10 at 13:04
  • You for sure need to show your forms. Perhaps showing them in a loop after they all have been instantiated. It is hard to say without knowing exactly the ultimate objective and what you need to achieve that requires such behaviour. =) – Will Marcouiller Jun 29 '10 at 13:09
  • I have a MDI parent form that loads child forms containing gauges that load. Each gauge requires a connection to a seperate database with some data processing to populate the gauge data. I have tried to create them first. Then Show() them afterwards, but they still load one at time. – Thomas Jul 05 '10 at 09:29