2011/8/9 Michael Schnell <[email protected]> > Sorry for typing too fast (again :( ). > > No, It's good. Thanks.
> in fact I would try something like this: > > > var > GUI2Thread: TGUI2Thread; > GUI2Application: TApplication > > procedure TGUI2Thread.Execute; > begin > GUI2Application:= TApplication.create; > GUI2Application.Title:='**GUI2Test'; > GUI2Application.Initialize; > GUI2Application.CreateForm(**TForm2, Form2); > GUI2Application.Run; > end; > > I'll try it so. > > On 08/09/2011 01:14 PM, Juan Sánchez wrote: > >> The window is created from the main application, but you can not close it. >> >> > How are you trying to close it ? > > If you close the Form Run should exit, but of course, before this the Form > should be discarded from the screen and the memory. > > When I call DLL funtion (DllMessage) from main program, new Window shows but it's imposible to close it with close button in title bar. It only closes where I close main window. Regards, Juan. > Have fun, > > -Michael > > -- > ______________________________**_________________ > Lazarus mailing list > [email protected].**freepascal.org<[email protected]> > http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus> >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
