Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Kadaitcha Man : > 2009/12/10 Benoît Minisini : > >> You should write: >>  butty = NEW Button(keret) AS "Ops" >> to have the same effect. > > That's what I thought, but when I tried a similar thing with a > TextBox, it appeared that the TextBox events were not firing. I'll > take another

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Kadaitcha Man : > 2009/12/10 Benoît Minisini : > >> You should write: >>  butty = NEW Button(keret) AS "Ops" >> to have the same effect. > > That's what I thought, but when I tried a similar thing with a > TextBox, it appeared that the TextBox events were not firing. I'll > take another

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Benoît Minisini : > You should write: >  butty = NEW Button(keret) AS "Ops" > to have the same effect. That's what I thought, but when I tried a similar thing with a TextBox, it appeared that the TextBox events were not firing. I'll take another look at it later this afternoon just in

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Benoît Minisini
> So how to stop the rest of the process, while the Messenger( , ) is being > executed? I've tried to experimenting with WAIT, but no help. > This is the most annoying thing in Gambas. You never know exactly what to > do in order to make things work. Is there a possibility, to make the > process

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread M. Cs.
So how to stop the rest of the process, while the Messenger( , ) is being executed? I've tried to experimenting with WAIT, but no help. This is the most annoying thing in Gambas. You never know exactly what to do in order to make things work. Is there a possibility, to make the process handling uni

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread M. Cs.
What do you mean exactly by "communicate"? Can you provide the full source > code in a project, we will better understand what you want to do. > > Beware that an object is locked during its _new() so it cannot receive > events. > > Regards, > > -- > Benoît Minisini > > > I mean, the procedure Ops_C

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Benoît Minisini
> I don't understand why is the handling of dynamically created forms so > complicated! > I've barely managed to shut a modal dialog, I'm encountering a new problem: > > when I invoke the procedure Messenger: > > PUBLIC SUB Messenger(tekst AS String, slika AS String) > DIM imge AS PictureBox > DI

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Kadaitcha Man : > Look at the attached code, and take note of the form design. Scratch that. You may have found a bug, either inadvertently or advertantly ;-> With MyTextBox declared as public, xMyTextBox_Change isn't firing: MyTextBox = NEW TextBox(HBox1) AS "xMyTextBox" I'll start

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 M. Cs. : butty = NEW Button(keret) butty.x = 340 butty.y = 250 butty.Width = 120 butty.Height = 25 butty.Text = "OK" keret.Center Object.Attach(butty, ME, "Ops") ^^^ "butty" is already attached to "keret" You should attach "keret" to ME, or: butty = N

[Gambas-user] Buttons again not working

2009-12-09 Thread M. Cs.
I don't understand why is the handling of dynamically created forms so complicated! I've barely managed to shut a modal dialog, I'm encountering a new problem: when I invoke the procedure Messenger: PUBLIC SUB Messenger(tekst AS String, slika AS String) DIM imge AS PictureBox DIM conti AS TextLab