> I don't want to pressure, but have I understand this correctly, this is > bug? Or did I miss something? > > Jussi >
This is a side effect of a feature I should remove maybe: The first instanciated Window (or Form) automatically becomes the "main" window. When that window is closed, all other instanciated forms are automatically closed and made invalid. So when you try to show the second form, that has been created before the first form is shonw, you get the message. I think I will remove that feature, and make the "main" window concept explicit with an "Application.MainWindow" property, or something like that. What do people think? -- Benoît Minisini ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user