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] serial port

2009-12-09 Thread Tony
yuhej wrote: Hello, I'm very happy with the serial port communication, just I have some more question. When I start the application, I don't know what ports will be used and how many. So I have an object array where I add new serial ports depending on the hardware configuration. >From this

Re: [Gambas-user] Installing a Gambas program independent of the distribution through DIR GB

2009-12-09 Thread craf
Thank you very much, for your answer,Benoit. Regards -Mensaje original- De: Benoît Minisini Reply-to: mailing list for gambas users Para: mailing list for gambas users Asunto: Re: [Gambas-user] Installing a Gambas program independent of the distribution through DIR GB Fecha: Wed, 9 Dec

Re: [Gambas-user] qt4 Font question

2009-12-09 Thread Jean-Yves F. Barbier
richard terry a écrit : > more questions about qt4. > > Font sizes seem different to qt3, this may be KDE and nothing to do with qt4, > but dosn't happen like this in qt3. > > When I use a font dialog Arial size 9 is too small for my app. If I go to 10, > then it is too large. > > Under QT3 t

Re: [Gambas-user] qt4 slowness of drawing complex screens

2009-12-09 Thread richard terry
On Thursday 10 December 2009 08:59:57 Benoît Minisini wrote: > > i've not noticed that on the ide ... it have many controls too... > > > > 2009/12/9 richard terry : > > > I've noticed qt4 is much slower rendering the controls than qt3 and > > > wondered if it is possible to 'hide' this process till

[Gambas-user] qt4 Font question

2009-12-09 Thread richard terry
more questions about qt4. Font sizes seem different to qt3, this may be KDE and nothing to do with qt4, but dosn't happen like this in qt3. When I use a font dialog Arial size 9 is too small for my app. If I go to 10, then it is too large. Under QT3 this dosn't seem to be the same. I enclose

Re: [Gambas-user] qt4 slowness of drawing complex screens

2009-12-09 Thread Benoît Minisini
> i've not noticed that on the ide ... it have many controls too... > > 2009/12/9 richard terry : > > I've noticed qt4 is much slower rendering the controls than qt3 and > > wondered if it is possible to 'hide' this process till the rendering is > > complete. > > > > Users with small numbers of co

Re: [Gambas-user] qt4 slowness of drawing complex screens

2009-12-09 Thread Fabien Bodard
i've not noticed that on the ide ... it have many controls too... 2009/12/9 richard terry : > I've noticed qt4 is much slower rendering the controls than qt3 and wondered > if it is possible to 'hide' this process till the rendering is complete. > > Users with small numbers of controls on a form p

[Gambas-user] qt4 slowness of drawing complex screens

2009-12-09 Thread richard terry
I've noticed qt4 is much slower rendering the controls than qt3 and wondered if it is possible to 'hide' this process till the rendering is complete. Users with small numbers of controls on a form probably wouldn't notice this. Regards Richard --

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] Installing a Gambas program independent of the distribution through DIR GB

2009-12-09 Thread Benoît Minisini
> Hello Benoit. > > I'm trying to run Gambas on a computer that does not have the component > packages, based on the help that you gave the user JGuardon, which > wanted to run Gambas on a USB stick. > In one of the points of support, type: > > 2)copy the installation directory Gambas in anoth

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

Re: [Gambas-user] Serial port data being changed ????

2009-12-09 Thread Les Hardy
Benoît Minisini wrote: > > I'm not a serial port user at all, and I find that behaviour a bit strange. > > Would it be useful to make a property for that? Or maybe it does already > exist > in the SerialPort class, and I didn't see it. > Nothing strange really. Its been like that as long as

Re: [Gambas-user] Serial port data being changed ????

2009-12-09 Thread Les Hardy
Benoît Minisini wrote: > > I'm not a serial port user at all, and I find that behaviour a bit strange. > > Would it be useful to make a property for that? Or maybe it does already > exist > in the SerialPort class, and I didn't see it. > Nothing strange really. Its been like that as long as

Re: [Gambas-user] serial port

2009-12-09 Thread yuhej
Hello, I'm very happy with the serial port communication, just I have some more question. When I start the application, I don't know what ports will be used and how many. So I have an object array where I add new serial ports depending on the hardware configuration. >From this object array, I'm