[Gambas-user] Create Event

2010-09-02 Thread Reynaldi Jansen
Hello again. I have a form and textarea with tabstrip as parent... Then i create textarea1_cursor event in the first textarea... When user invoke to open new tab.count, it will create a new textarea... DIM hTextArea as TextArea TabStrip1.count += 1 hTextArea = NEW TextArea(TabStrip1) My questio

Re: [Gambas-user] TextWidth

2010-09-02 Thread Doriano Blengino
Fabián Flores Vadell ha scritto: > When I try to adjust the width of a TextBox to its content, I use > txtSomeThing.Width = txtSomeThing.TextWidth(txtSomeThing.Text). But > doing that, the width of TextBox never be enought to show its content > completely. > > I tried to find a correction factor bu

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Doriano Blengino
Fabián Flores Vadell ha scritto: > 2010/9/2 Doriano Blengino : > >> I agree - consistency; but the center question is the AutoResize >> property. If it is true by default, then the widget should show as soon >> as its text property is set to something "visible". If it is false, then >> the widge

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Fabián Flores Vadell
2010/9/2 richard terry : > Please don't introduce the nightmare of autoresize = true!! Arguments, please. -- Fabián Flores Vadell www.speedbooksargentina.blogspot.com -- This SF.net Dev2Dev email is sponsored by

Re: [Gambas-user] Can you put a big box into a small one?

2010-09-02 Thread Fabián Flores Vadell
2010/9/2 richard terry : Thanks Richard. I agree with your arguments about Gambas. Is a great tool. I'm writing examples and small proyects to use them in the docs I'm writing. Now I writing a graphic control, and I find that constraint. I hope that now, you can understand that I'm referring to t

[Gambas-user] TextWidth

2010-09-02 Thread Fabián Flores Vadell
When I try to adjust the width of a TextBox to its content, I use txtSomeThing.Width = txtSomeThing.TextWidth(txtSomeThing.Text). But doing that, the width of TextBox never be enought to show its content completely. I tried to find a correction factor but this is a fallible method. How I can adjus

Re: [Gambas-user] Can you put a big box into a small one?

2010-09-02 Thread richard terry
On Friday 03 September 2010 08:00:23 Fabián Flores Vadell wrote: > I found that isn't possible set the width of a control to be higher > than the width of its container. That's right? If so, this analogy of > a physical constraint make not sense to me. Why the behaviour of a > control follow this p

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread richard terry
On Friday 03 September 2010 07:43:34 Fabián Flores Vadell wrote: My 2c worth: Please don't introduce the nightmare of autoresize = true!! Regards Richard > 2010/9/2 Doriano Blengino : > > I agree - consistency; but the center question is the AutoResize > > property. If it is true by de

[Gambas-user] Can you put a big box into a small one?

2010-09-02 Thread Fabián Flores Vadell
I found that isn't possible set the width of a control to be higher than the width of its container. That's right? If so, this analogy of a physical constraint make not sense to me. Why the behaviour of a control follow this physical analogy? -- Fabián Flores Vadell www.speedbooksargentina.blogsp

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Fabián Flores Vadell
2010/9/2 Doriano Blengino : > I agree - consistency; but the center question is the AutoResize > property. If it is true by default, then the widget should show as soon > as its text property is set to something "visible". If it is false, then > the widget should not resize and, doing so, it should

Re: [Gambas-user] TableView issue

2010-09-02 Thread Fabien Bodard
2010/9/2 JUHASZ Robert : > Salut Benoit, > > I tested the last version with the different components: > > gb.qt: still the same problem (ComboBox is read-only) > gb.qtk: OK gb.gui: OK ==> so you are in gnome :) > > I use gb.qt. > > Robi > > -Original Message- > From: Benoît Minisini > Re

Re: [Gambas-user] Your energy

2010-09-02 Thread Benoît Minisini
> True, maybe Benoit means twins in English! > > Jussi > > Hey guys, my birthday is not now, just in four days! ;-) -- Benoît Minisini -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming

Re: [Gambas-user] Your energy

2010-09-02 Thread Jussi Lahtinen
True, maybe Benoit means twins in English! Jussi On Thu, Sep 2, 2010 at 00:19, Dag Jarle Johansen wrote: > Hola, Benoit. > > this is no mail because of things not happening - this is a mail of > admiretance, > I was a little silent in the last months, because I have to write some > stuff in PHP

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Rolf-Werner Eilert
Am 02.09.2010 13:58, schrieb Doriano Blengino: > Rolf-Werner Eilert ha scritto: >> Am 02.09.2010 11:36, schrieb Doriano Blengino: >> >>> Rolf-Werner Eilert ha scritto: >>> This is just a general question about programming, it doesn't refer to Gambas specifically, but I would implement the

Re: [Gambas-user] Bitwise Operations Wish

2010-09-02 Thread Werner
On 02/09/10 20:06, Benoît Minisini wrote: >> There were days when binary values were actually represented in bits >> within a byte or word. This is still true when interfacing to some boxes >> such as PLCs. >> Likewise, some operations - eg calculating a CRC - are very awkward to >> implement witho

Re: [Gambas-user] Bitwise Operations Wish

2010-09-02 Thread Benoît Minisini
> There were days when binary values were actually represented in bits > within a byte or word. This is still true when interfacing to some boxes > such as PLCs. > Likewise, some operations - eg calculating a CRC - are very awkward to > implement without bitwise operations. > > It would be really

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Doriano Blengino
Rolf-Werner Eilert ha scritto: > Am 02.09.2010 11:36, schrieb Doriano Blengino: > >> Rolf-Werner Eilert ha scritto: >> >>> This is just a general question about programming, it doesn't refer to >>> Gambas specifically, but I would implement the results in Gambas. >>> >>> For some of my bigg

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Rolf-Werner Eilert
Am 02.09.2010 12:39, schrieb Fabien Bodard: >> No, my question was: How can I implement such a logic in my own program? > > did you try to make a kind of high level interpreter ? for macro for exemple ? > > if it is that ... the doriano explanation is good :) > Yes, right that :-) And see my answe

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Rolf-Werner Eilert
Am 02.09.2010 11:36, schrieb Doriano Blengino: > Rolf-Werner Eilert ha scritto: >> This is just a general question about programming, it doesn't refer to >> Gambas specifically, but I would implement the results in Gambas. >> >> For some of my bigger projects I have had to implement IF and ELSE and

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Fabien Bodard
> No, my question was: How can I implement such a logic in my own program? did you try to make a kind of high level interpreter ? for macro for exemple ? if it is that ... the doriano explanation is good :) -- This SF.ne

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Rolf-Werner Eilert
Am 02.09.2010 11:20, schrieb Werner: > On 02/09/10 16:39, Rolf-Werner Eilert wrote: >> This is just a general question about programming, it doesn't refer to >> Gambas specifically, but I would implement the results in Gambas. >> >> For some of my bigger projects I have had to implement IF and ELSE

[Gambas-user] Bitwise Operations Wish

2010-09-02 Thread Werner
There were days when binary values were actually represented in bits within a byte or word. This is still true when interfacing to some boxes such as PLCs. Likewise, some operations - eg calculating a CRC - are very awkward to implement without bitwise operations. It would be really nice to have t

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Doriano Blengino
Rolf-Werner Eilert ha scritto: > This is just a general question about programming, it doesn't refer to > Gambas specifically, but I would implement the results in Gambas. > > For some of my bigger projects I have had to implement IF and ELSE and > similar functions. I tried to manage AND, OR etc

Re: [Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Werner
On 02/09/10 16:39, Rolf-Werner Eilert wrote: > This is just a general question about programming, it doesn't refer to > Gambas specifically, but I would implement the results in Gambas. > > For some of my bigger projects I have had to implement IF and ELSE and > similar functions. I tried to mana

[Gambas-user] How to realize AND, OR etc.

2010-09-02 Thread Rolf-Werner Eilert
This is just a general question about programming, it doesn't refer to Gambas specifically, but I would implement the results in Gambas. For some of my bigger projects I have had to implement IF and ELSE and similar functions. I tried to manage AND, OR etc. too, but I failed. Somehow I didn't f

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Doriano Blengino
Fabián Flores Vadell ha scritto: > 2010/9/1 Benoît Minisini : > >> I'm inclined to prefer the gb.gtk behaviour than the gb.qt one, aren't you? >> > > Uhm... when a label is drawed on a form by double clicking on its icon > in the toolbox, the label appears on X=0 Y=0, its Text property is s

Re: [Gambas-user] TableView issue

2010-09-02 Thread JUHASZ Robert
Salut Benoit, I tested the last version with the different components: gb.qt: still the same problem (ComboBox is read-only) gb.qtk: OK gb.gui: OK I use gb.qt. Robi -Original Message- From: Benoît Minisini Reply-to: mailing list for gambas users To: mailing list for gambas users Sub