There seems to be workaround for this bug. Instead of this: Public Form1 As New FForm1 Public Form2 As New FForm2
Public Sub Main() If Form1.ShowModal() = 666 Then Form2.ShowModal() Endif End This works: Public Form1 As New FForm1 Public Form2 As FForm2 Public Sub Main() If Form1.ShowModal() = 666 Then Form2 = New FForm2 Form2.ShowModal() Endif End At least this workaround works with revision 3117. Jussi On Sun, Aug 15, 2010 at 01:18, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Unfortunately not entirely. > "Invalid object" from next showmodal form invoke. > See attached project. > > Jussi > > > 2010/8/15 Benoît Minisini <gam...@users.sourceforge.net>: >>> Hi! >>> If form is invoked with ShowModal in certain situation it prevents >>> form to close --> hang. >>> See attached project. >>> >>> Gambas 3 revision 3109 @ Ubuntu 10.04 64bit >>> >>> Jussi >> >> And that one is fixed in revision #3111. >> >> Regards, >> >> -- >> Benoît Minisini >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user