Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
Everything seems to work correctly now. Thanks! Jussi 2010/8/15 Benoît Minisini : >> Because of messiness, that program could do anything weird >> (clarification is not ready yet). >> Problem occurs when program is closing. >> Here: >> >> ==4946== Memcheck, a memory error detector >> ==4946== Co

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Benoît Minisini
> Because of messiness, that program could do anything weird > (clarification is not ready yet). > Problem occurs when program is closing. > Here: > > ==4946== Memcheck, a memory error detector > ==4946== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. > ==4946== Using Valgrind-3.6

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
Because of messiness, that program could do anything weird (clarification is not ready yet). Problem occurs when program is closing. Here: ==4946== Memcheck, a memory error detector ==4946== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==4946== Using Valgrind-3.6.0.SVN-Debian an

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Benoît Minisini
> Yes, after I wrote my mail, I figured it may be the case. > Problem is that my program is oriented to module. > It invokes forms when needed and shows with them what > happens inside of module. Yes. Maybe that automatic main window feature should be optional... > > Project I'm working on is bi

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
Yes, after I wrote my mail, I figured it may be the case. Problem is that my program is oriented to module. It invokes forms when needed and shows with them what happens inside of module. Project I'm working on is big, old and messy. It is ported from vb6. Now I'm trying to make code more clear, b

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Benoît Minisini
> 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 F

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
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.S

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-14 Thread Jussi Lahtinen
Unfortunately not entirely. "Invalid object" from next showmodal form invoke. See attached project. Jussi 2010/8/15 Benoît Minisini : >> Hi! >> If form is invoked with ShowModal in certain situation it prevents >> form to close --> hang. >> See attached project. >> >> Gambas 3 revision 3109 @ Ub

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-14 Thread Benoît Minisini
> 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

[Gambas-user] Bug affecting to ShowModal

2010-08-14 Thread Jussi Lahtinen
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 FormTest-0.0.1.tar.gz Description: GNU Zip compressed data -