Re: [Gambas-user] Showmodal causes invalid object!

2011-02-17 Thread John Spikowski
On Fri, 2011-02-18 at 00:39 +0100, Benoît Minisini wrote: > What do people think? I think the parent / child relationship must be maintained. If you terminate the parent, all child controls, memory and processes are terminated as well. If a orphan window/dialog uses another windows message hand

Re: [Gambas-user] Showmodal causes invalid object!

2011-02-17 Thread Benoît Minisini
> 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

[Gambas-user] Bug in gb3: Message buttons are not translated

2011-02-17 Thread Matti
With the exception of Message.Optional, all other messages display the buttons in the original language. Test it in any form with any message: Public Sub Form_Menu() If Message.Question(("Do you really want to?"), ("Yes"), ("No")) = 1 Then Me.Close Endif End The strings "Yes" and "No" wil

Re: [Gambas-user] Showmodal causes invalid object!

2011-02-17 Thread Jussi Lahtinen
I don't want to pressure, but have I understand this correctly, this is bug? Or did I miss something? Jussi On Sun, Feb 13, 2011 at 19:27, Jussi Lahtinen wrote: > Combination of showmodal and use of module as startup, invalidates > forms declared in the module. > See attached project. > > Gamba