[Gambas-user] Possible bug (Application_Signal)

2017-05-13 Thread Charlie
I think there is a small bug relating to Application_Signal. If the line 'Public Sub Application_Signal(x As Integer)' does not have 'x As Integer' an error is generated in the code, see image, but the compiler reports the 'x' as unused. See attached program that has my system details included.

Re: [Gambas-user] POSSIBLE! bug in while loop

2015-12-29 Thread Stephen
Reading this, in addition to seeing the need for a "Wait", I thought the following; Does putting the desired global variable in a class mean the class needs to be instantiated within the scope of the code example given? i.e. PUBLIC GlobalVar as globalVars ' Change the name of the class to ke

Re: [Gambas-user] POSSIBLE! bug in while loop

2015-12-29 Thread Fabien Bodard
Private hTimer as timer as "LoopTimer" Private bHalt as Boolean Private iCount as integer Public Sub LoopTimer_Timer() if bHalt or if iCount>=10 then bHalt = False iCount = 0 Return endif inc ICount Print iCount hTimer.Trigger End Public Sub btnGo_Click() hTimer.Trigger End Publ

Re: [Gambas-user] POSSIBLE! bug in while loop

2015-12-28 Thread adamn...@gmail.com
Add a Wait instruction after n=n+1 to invoke the Event Loop. (Research the help on this) Also see Inc. hth b On Tue, 29 Dec 2015 02:55:41 + (UTC) Robert Boykin wrote: > Test Program code is: > ' Gambas class file > > ' Static Private iexit As Integer = 0 > Public Sub _new() > End > > Publ

[Gambas-user] POSSIBLE! bug in while loop

2015-12-28 Thread Robert Boykin
Test Program code is: ' Gambas class file ' Static Private iexit As Integer = 0 Public Sub _new() End Public Sub Form_Open() GlobalVar.iexit = 0 End Public Sub GObtn_Click() Dim n As Integer n = 0 While n < 10 Print n n = n + 1 If GlobalVar.iexit > 0 Then Break Wend End Public Sub e

Re: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print

2015-12-16 Thread PICCORO McKAY Lenz
thanks, confirmed, now the printer captures the proper char! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -- ___ Gambas-user mailing list Gambas-user@lists.sourc

Re: [Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print

2015-12-16 Thread ...
Yes, the backslash is the standard escape character, so in order to print one you should put 2 together. Heck... actually you should put twice as many you need: If you need \\\, you use "\\". Common ASCII escape sequences: If you want a line feed, the escape sequence is \n, a tab is \t, a c

[Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print

2015-12-16 Thread PICCORO McKAY Lenz
i put this code: Print "\" But the ide thinks the i must put another '\' .. if not added a extra " at the end! So its normal and correct i put : Print "\\" and will print in console the \ normally? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -

Re: [Gambas-user] Possible bug in GridView

2015-06-11 Thread Gianluigi
Thanks Gianluigi 2015-06-11 23:24 GMT+02:00 Benoît Minisini : > Le 11/06/2015 22:21, Gianluigi a écrit : > > Have you tried to comment out this? > > ' GridView1[0, 0].Alignment = Align.Right > > ' GridView1[0, 1].Alignment = Align.Right > > ' GridView1[0, 2].Alignment = Align.Right > > See still

Re: [Gambas-user] Possible bug in GridView

2015-06-11 Thread Benoît Minisini
Le 11/06/2015 22:21, Gianluigi a écrit : > Have you tried to comment out this? > ' GridView1[0, 0].Alignment = Align.Right > ' GridView1[0, 1].Alignment = Align.Right > ' GridView1[0, 2].Alignment = Align.Right > See still icons? I not only one with Height = 52 and none with Height = > GridView1.He

Re: [Gambas-user] Possible bug in GridView

2015-06-11 Thread Gianluigi
Have you tried to comment out this? ' GridView1[0, 0].Alignment = Align.Right ' GridView1[0, 1].Alignment = Align.Right ' GridView1[0, 2].Alignment = Align.Right See still icons? I not only one with Height = 52 and none with Height = GridView1.Height Regards Gianluigi 2015-06-11 21:58 GMT+02:00 B

Re: [Gambas-user] Possible bug in GridView

2015-06-11 Thread Benoît Minisini
Le 11/06/2015 21:42, Gianluigi a écrit : > To see the possible bug comment and uncomment the attached test. > > Regards > > Gianluigi > What bug are you talking about??? -- Benoît Minisini -- ___

[Gambas-user] Possible bug in GridView

2015-06-11 Thread Gianluigi
To see the possible bug comment and uncomment the attached test. Regards Gianluigi Test-GridView-0.0.1.tar.gz Description: GNU Zip compressed data -- ___ Gambas-user mailing l

Re: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui

2015-03-28 Thread Gian
Il 28/03/2015 21:42, Benoît Minisini ha scritto: > Le 24/03/2015 12:02, Gian a écrit : >> Il 24/03/2015 11:43, Charlie Reinl ha scritto: >>> Salut, >>> >>> I can confirm that behave, but you can go behind of the dec-comma. >>> When entering the comma the box make left shift and keeps staying before

Re: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui

2015-03-28 Thread Benoît Minisini
Le 24/03/2015 12:02, Gian a écrit : > Il 24/03/2015 11:43, Charlie Reinl ha scritto: >> Salut, >> >> I can confirm that behave, but you can go behind of the dec-comma. >> When entering the comma the box make left shift and keeps staying before >> the comma. > > Yes I know, but it is not normal and

Re: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui

2015-03-24 Thread Gian
Il 24/03/2015 11:43, Charlie Reinl ha scritto: > Salut, > > I can confirm that behave, but you can go behind of the dec-comma. > When entering the comma the box make left shift and keeps staying before > the comma. Yes I know, but it is not normal and not have to do this with QT. Regards Gianluigi

Re: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui

2015-03-24 Thread Charlie Reinl
Am Dienstag, den 24.03.2015, 11:28 +0100 schrieb Gian: > Il 22/03/2015 21:35, Gian ha scritto: > > On Ubuntu Gabas3 3.7 and Trunk you can not enter decimal numbers manually. > > Yes with code. > > Manually comma ends at the bottom of the widget, see attached. > > Regards > > Gianluigi > > Salut,

Re: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui

2015-03-24 Thread Gian
Il 22/03/2015 21:35, Gian ha scritto: On Ubuntu Gabas3 3.7 and Trunk you can not enter decimal numbers manually. Yes with code. Manually comma ends at the bottom of the widget, see attached. Regards Gianluigi [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-48-generic Architecture=x86_6

[Gambas-user] Possible bug on ValueBox gtk ang gb.gui

2015-03-22 Thread Gian
On Ubuntu Gabas3 3.7 and Trunk you can not enter decimal numbers manually. Yes with code. Manually comma ends at the bottom of the widget, see attached. Regards Gianluigi [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-48-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Deskt

Re: [Gambas-user] Possible bug with Text property of MaskBox

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 14:40, Benoît Minisini a écrit : > Le 13/03/2015 12:01, John Rose a écrit : >> On 10/03/15 17:21, John Rose wrote: >> >>> I've found what I think is a bug on the Text property of the Maskbox >>> control. When I set it with a Text property (conforming to its Mask >>> property), it show

Re: [Gambas-user] Possible bug with Text property of MaskBox

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 12:01, John Rose a écrit : > On 10/03/15 17:21, John Rose wrote: > >> I've found what I think is a bug on the Text property of the Maskbox >> control. When I set it with a Text property (conforming to its Mask >> property), it shows as blank at runtime. However, if I set it by code >>

Re: [Gambas-user] Possible bug with Text property of MaskBox

2015-03-13 Thread John Rose
On 10/03/15 17:21, John Rose wrote: > I've found what I think is a bug on the Text property of the Maskbox > control. When I set it with a Text property (conforming to its Mask > property), it shows as blank at runtime. However, if I set it by code > to the same value, it works OK. Test project at

[Gambas-user] Possible bug with Text property of MaskBox

2015-03-10 Thread John Rose
I've found what I think is a bug on the Text property of the Maskbox control. When I set it with a Text property (conforming to its Mask property), it shows as blank at runtime. However, if I set it by code to the same value, it works OK. Test project attached. Please confirm if it is a bug or just

Re: [Gambas-user] Possible bug in ValueBox coding of gb.form Component

2015-03-09 Thread Benoît Minisini
Le 08/03/2015 17:44, John Rose a écrit : > I've attached a Test project. The significant controls are 13 ValueBoxes > (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes > (named PlainMaskBox1 etc, all in Group Plain): please ignore the other > controls & their coding. When I cha

Re: [Gambas-user] Possible bug in ValueBox coding of gb.form Component

2015-03-08 Thread John Rose
On 08/03/15 19:28, Willy Raets wrote: > On zo, 2015-03-08 at 16:44 +, John Rose wrote: >> I've attached a Test project. The significant controls are 13 ValueBoxes >> (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes >> (named PlainMaskBox1 etc, all in Group Plain): please i

Re: [Gambas-user] Possible bug in ValueBox coding of gb.form Component

2015-03-08 Thread Willy Raets
On zo, 2015-03-08 at 16:44 +, John Rose wrote: > I've attached a Test project. The significant controls are 13 ValueBoxes > (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes > (named PlainMaskBox1 etc, all in Group Plain): please ignore the other > controls & their coding.

[Gambas-user] Possible bug in ValueBox coding of gb.form Component

2015-03-08 Thread John Rose
I've attached a Test project. The significant controls are 13 ValueBoxes (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes (named PlainMaskBox1 etc, all in Group Plain): please ignore the other controls & their coding. When I change any CypheredValueBox to a another number, the

Re: [Gambas-user] Possible bug on offline help

2015-01-24 Thread Jørn Erik Mørne
Den 24. jan. 2015 23:56, skrev Tobias Boege: > On Sat, 24 Jan 2015, J??rn Erik M??rne wrote: >> Den 28. nov. 2014 20:46, skrev Beno??t Minisini: >>> Le 28/11/2014 16:46, Gian a ??crit : Il 28/11/2014 16:32, Beno??t Minisini ha scritto: > Mmm... Did you download the offline documentation?

Re: [Gambas-user] Possible bug on offline help

2015-01-24 Thread Tobias Boege
On Sat, 24 Jan 2015, J??rn Erik M??rne wrote: > > Den 28. nov. 2014 20:46, skrev Beno??t Minisini: > > Le 28/11/2014 16:46, Gian a ??crit : > >> Il 28/11/2014 16:32, Beno??t Minisini ha scritto: > >>> Mmm... Did you download the offline documentation? > >> No Benoit, > >> I was online when I downl

Re: [Gambas-user] Possible bug on offline help

2015-01-24 Thread Jørn Erik Mørne
Den 28. nov. 2014 20:46, skrev Benoît Minisini: > Le 28/11/2014 16:46, Gian a écrit : >> Il 28/11/2014 16:32, Benoît Minisini ha scritto: >>> Mmm... Did you download the offline documentation? >> No Benoit, >> I was online when I downloaded the help according to your instructions >> (http://gambas

Re: [Gambas-user] [gambas-user] Possible bug in gb.gui

2014-12-15 Thread Paul Horechuk
OK, fine, but another problem has popped up. During testing, I switched the gb.qt4 to qb.gtk and I was unable to type anything into the TextBoxes. This was seen before while using gb.gui and other environments, such as fxce and Ubuntu Studio. Is there another component(s) I have to activate in

Re: [Gambas-user] [gambas-user] Possible bug in gb.gui

2014-12-14 Thread Benoît Minisini
Le 14/12/2014 21:10, Paul Horechuk a écrit : > OK, then let's rephrase that slightly. The gb.gtk component does not > behave the same as the gb.qt4 component. If I disable the capability to > autodetect the environment and force the use of gb.qt4, then everything > works. Hence, the problem is with

Re: [Gambas-user] [gambas-user] Possible bug in gb.gui

2014-12-14 Thread Paul Horechuk
OK, then let's rephrase that slightly. The gb.gtk component does not behave the same as the gb.qt4 component. If I disable the capability to autodetect the environment and force the use of gb.qt4, then everything works. Hence, the problem is within gb.gtk. As part of setting the taget environme

Re: [Gambas-user] [gambas-user] Possible bug in gb.gui

2014-12-13 Thread Benoît Minisini
Le 14/12/2014 01:01, Paul Horechuk a écrit : > I finally nailed down a bug in my environment. > > During development using Ubuntu 14.04 with the KDE/Plasma desktop and > Gambas 3.5.4 up to 3.6.2, everything works. Problems were encountered > when I installed a source archive on Fedora 20. This Fedo

[Gambas-user] [gambas-user] Possible bug in gb.gui

2014-12-13 Thread Paul Horechuk
I finally nailed down a bug in my environment. During development using Ubuntu 14.04 with the KDE/Plasma desktop and Gambas 3.5.4 up to 3.6.2, everything works. Problems were encountered when I installed a source archive on Fedora 20. This Fedora was with the default Gnome desktop. Gambas was

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 23:30, Benoît Minisini ha scritto: > Le 28/11/2014 23:21, Gian a écrit : >> Il 28/11/2014 21:35, Gian ha scritto: >>> Il 28/11/2014 20:46, Benoît Minisini ha scritto: Le 28/11/2014 16:46, Gian a écrit : > Il 28/11/2014 16:32, Benoît Minisini ha scritto: >> Mmm... Did you

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Jørn Erik Mørne
Den 28. nov. 2014 21:33, skrev Gian: > Il 28/11/2014 20:44, Gian ha scritto: >> Il 28/11/2014 20:31, Jørn Erik Mørne ha scritto: >>> Den 28. nov. 2014 15:39, skrev Gian: Hello everyone, if I use the off-line help I get everywhere this “This page does not exist” see attached. If

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Benoît Minisini
Le 28/11/2014 23:21, Gian a écrit : > Il 28/11/2014 21:35, Gian ha scritto: >> Il 28/11/2014 20:46, Benoît Minisini ha scritto: >>> Le 28/11/2014 16:46, Gian a écrit : Il 28/11/2014 16:32, Benoît Minisini ha scritto: > Mmm... Did you download the offline documentation? No Benoit,

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 21:35, Gian ha scritto: > Il 28/11/2014 20:46, Benoît Minisini ha scritto: >> Le 28/11/2014 16:46, Gian a écrit : >>> Il 28/11/2014 16:32, Benoît Minisini ha scritto: Mmm... Did you download the offline documentation? >>> >>> No Benoit, >>> I was online when I downloaded the help

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 20:46, Benoît Minisini ha scritto: > Le 28/11/2014 16:46, Gian a écrit : >> Il 28/11/2014 16:32, Benoît Minisini ha scritto: >>> Mmm... Did you download the offline documentation? >> >> No Benoit, >> I was online when I downloaded the help according to your instructions >> (http://gam

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 20:44, Gian ha scritto: > Il 28/11/2014 20:31, Jørn Erik Mørne ha scritto: >> >> Den 28. nov. 2014 15:39, skrev Gian: >>> Hello everyone, >>> if I use the off-line help I get everywhere this “This page does not >>> exist” see attached. >>> If I use the on-line help is ok. >>> regards

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Jussi Lahtinen
Everything seems to work OK with revision 6681. Off-line and on-line help. I downloaded the off-line documentation via the button in IDE preferences. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-40-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk La

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Benoît Minisini
Le 28/11/2014 16:46, Gian a écrit : > Il 28/11/2014 16:32, Benoît Minisini ha scritto: >> Mmm... Did you download the offline documentation? > > No Benoit, > I was online when I downloaded the help according to your instructions > (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.h

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 20:31, Jørn Erik Mørne ha scritto: > > Den 28. nov. 2014 15:39, skrev Gian: >> Hello everyone, >> if I use the off-line help I get everywhere this “This page does not >> exist” see attached. >> If I use the on-line help is ok. >> regards >> Gianluigi >> >>

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Jørn Erik Mørne
Den 28. nov. 2014 15:39, skrev Gian: > Hello everyone, > if I use the off-line help I get everywhere this “This page does not > exist” see attached. > If I use the on-line help is ok. > regards > Gianluigi > > -- > Downloa

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 16:32, Benoît Minisini ha scritto: > Mmm... Did you download the offline documentation? No Benoit, I was online when I downloaded the help according to your instructions (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). I did it because a friend of ours Gambas

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Benoît Minisini
Le 28/11/2014 15:39, Gian a écrit : > Hello everyone, > if I use the off-line help I get everywhere this “This page does not > exist” see attached. > If I use the on-line help is ok. > regards > Gianluigi > Mmm... Did you download the offline documentation? -- Benoît Minisini --

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 15:44, Gian ha scritto: > Il 28/11/2014 15:39, Gian ha scritto: >> Hello everyone, >> if I use the off-line help I get everywhere this “This page does not >> exist” see attached. >> If I use the on-line help is ok. >> regards >> Gianluigi >> >>

Re: [Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Il 28/11/2014 15:39, Gian ha scritto: Hello everyone, if I use the off-line help I get everywhere this “This page does not exist” see attached. If I use the on-line help is ok. regards Gianluigi -- Download BIRT iHub F-T

[Gambas-user] Possible bug on offline help

2014-11-28 Thread Gian
Hello everyone, if I use the off-line help I get everywhere this “This page does not exist” see attached. If I use the on-line help is ok. regards Gianluigi -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Se

Re: [Gambas-user] Possible bug in IDE

2014-10-09 Thread Willy Raets
On do, 2014-10-09 at 01:42 +0200, Benoît Minisini wrote: > Le 08/10/2014 23:15, T Lee Davidson a écrit : > > Confirmed with v3.5.4. Except simply opening another project with > > File->Open_project does not clear the incorrect filters. I have to Quit > > and re-launch Gambas to clear them. > > > >

Re: [Gambas-user] Possible bug in IDE

2014-10-08 Thread Willy Raets
On do, 2014-10-09 at 01:42 +0200, Benoît Minisini wrote: > Le 08/10/2014 23:15, T Lee Davidson a écrit : > > Confirmed with v3.5.4. Except simply opening another project with > > File->Open_project does not clear the incorrect filters. I have to Quit > > and re-launch Gambas to clear them. > > > >

Re: [Gambas-user] Possible bug in IDE

2014-10-08 Thread Benoît Minisini
Le 08/10/2014 23:15, T Lee Davidson a écrit : > Confirmed with v3.5.4. Except simply opening another project with > File->Open_project does not clear the incorrect filters. I have to Quit > and re-launch Gambas to clear them. > > > On 10/08/2014 10:53 AM, Willy Raets wrote: >> Try this at home and

Re: [Gambas-user] Possible bug in IDE

2014-10-08 Thread T Lee Davidson
Confirmed with v3.5.4. Except simply opening another project with File->Open_project does not clear the incorrect filters. I have to Quit and re-launch Gambas to clear them. On 10/08/2014 10:53 AM, Willy Raets wrote: > Try this at home and see what goes wrong. > Both 3.5.4 and 3.5.90 (rev#6521)

[Gambas-user] Possible bug in IDE

2014-10-08 Thread Willy Raets
Try this at home and see what goes wrong. Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour. 1. Open a project in IDE 2. In project browser - right click 'Sources' - select 'New' - select 'Module' - Click tab 'Existing' - 'Gambas modules (*.module) is the correct filter set 3. Repeat

Re: [Gambas-user] Possible bug gb.gtk in Gambas 3.5.90

2014-10-06 Thread Willy Raets
On ma, 2014-10-06 at 02:41 +0200, Benoît Minisini wrote: > Le 05/10/2014 23:11, Willy Raets a écrit : > > Hi, > > > > I noticed that with Gambas 3.5.90, the TextBox and TextArea do not > > accept input from keyboard with gb.gtk on LXDE. It works fine with > > gb.qt4. > > I haven't noticed this prob

Re: [Gambas-user] Possible bug gb.gtk in Gambas 3.5.90

2014-10-05 Thread Benoît Minisini
Le 05/10/2014 23:11, Willy Raets a écrit : > Hi, > > I noticed that with Gambas 3.5.90, the TextBox and TextArea do not > accept input from keyboard with gb.gtk on LXDE. It works fine with > gb.qt4. > I haven't noticed this problem on other desktops (even LXDE) but that > was all with Gambas 3.5.x.

[Gambas-user] Possible bug gb.gtk in Gambas 3.5.90

2014-10-05 Thread Willy Raets
Hi, I noticed that with Gambas 3.5.90, the TextBox and TextArea do not accept input from keyboard with gb.gtk on LXDE. It works fine with gb.qt4. I haven't noticed this problem on other desktops (even LXDE) but that was all with Gambas 3.5.x. It does not occur on Gambas 3.5.4 on Lubuntu 12.04 - L

[Gambas-user] Possible bug with the QT4 TextBox component

2014-04-24 Thread Jørn Erik Mørne
Hi! I do believe the following is a bug: If you enable the QT4 components in Gambas, drop a TextBox and then run the project. Enter some words in the TextBox and set the marker at the very beginning. If you now hit CTRL+Backspace it will act as if the Delete button was clicked, that is; it will e

Re: [Gambas-user] Possible bug extending array class of non-native classes [Was: Advising methods of non-fixed argument tuple in a parent class]

2014-04-16 Thread Tobias Boege
On Wed, 16 Apr 2014, Bruno F??lix Rezende Ribeiro wrote: > Em Tue, 15 Apr 2014 12:55:51 +0200 > Tobias Boege escreveu: > > > And finally let me tell you something about extending classes: it gets > > especially cool when you call your extending class like the extended > > class. Above, you would

Re: [Gambas-user] Possible bug extending array class of non-native classes [Was: Advising methods of non-fixed argument tuple in a parent class]

2014-04-15 Thread Bruno Félix Rezende Ribeiro
Em Tue, 15 Apr 2014 12:55:51 +0200 Tobias Boege escreveu: > And finally let me tell you something about extending classes: it gets > especially cool when you call your extending class like the extended > class. Above, you would not call your class VariantArray but > Variant[]. [ At present, you h

Re: [Gambas-user] Possible bug in round() function

2014-01-31 Thread Ricardo Díaz Martín
Thanks for the explanation. Just for this reason I wrote "possible bug" instead "bug". Definitely what a disillusioning floating points! It will be great if gambas could work natively with decimal numbers. Until this time I'll still working with long * 10^decimal digits. Regards, Ricardo 2014-0

Re: [Gambas-user] Possible bug in round() function

2014-01-30 Thread Benoît Minisini
Le 30/01/2014 11:33, Ricardo Díaz Martín a écrit : > Hi guys, > > Try to do this in the gambas console: > > ? round (283.5 * 0.21, -2) > 59,53 > > ? 283.5 * 0.21 > 59,535 > > ? round(59.535, -2) > 59,54 > > Why round (283.5 * 0.21, -2) doesn't works as expected? (or as I > expected...) > > I got th

Re: [Gambas-user] Possible bug in round() function

2014-01-30 Thread Jussi Lahtinen
> > I wouldn't say magical. Disillusioning maybe :-) > > 0.21 is not exactly representable with a finite number of bits. That's > why you should expect errors when computing with it. When you multiply, > the absolute error can get relatively large, obviously. > This probably has something to do wi

Re: [Gambas-user] Possible bug in round() function

2014-01-30 Thread Tobias Boege
On Thu, 30 Jan 2014, Bruce wrote: > On Thu, 2014-01-30 at 10:33 +, Ricardo D??az Mart??n wrote: > > ? round (283.5 * 0.21, -2) > > very interesting. The miracles we call floats. > try > ? round (283.46 * 0.20996, -2) > 59.54 > > Strange and magical, we'd be

Re: [Gambas-user] Possible bug in round() function

2014-01-30 Thread Bruce
On Thu, 2014-01-30 at 10:33 +, Ricardo Díaz Martín wrote: > ? round (283.5 * 0.21, -2) very interesting. The miracles we call floats. try ? round (283.46 * 0.20996, -2) 59.54 Strange and magical, we'd better wait on Benoit's call on this one. ? Bruce --

[Gambas-user] Possible bug in round() function

2014-01-30 Thread Ricardo Díaz Martín
Hi guys, Try to do this in the gambas console: ? round (283.5 * 0.21, -2) 59,53 ? 283.5 * 0.21 59,535 ? round(59.535, -2) 59,54 Why round (283.5 * 0.21, -2) doesn't works as expected? (or as I expected...) I got the same wrong behavior in my program using something like fAux = round(fNumber1,

Re: [Gambas-user] Possible bug in gb.gtk combined with DrawArea

2013-06-24 Thread Willy Raets
On Sat, 2013-06-22 at 18:26 +0200, Benoît Minisini wrote: > Le 18/06/2013 16:52, Willy Raets a écrit : > > Hi all, > > > > I made a little project to explain the problem. > > In the project you will find an About form in Help menu. > > This About form takes a RichText file and scrolls it from botto

Re: [Gambas-user] Possible bug in gb.gtk combined with DrawArea

2013-06-22 Thread Benoît Minisini
Le 18/06/2013 16:52, Willy Raets a écrit : > Hi all, > > I made a little project to explain the problem. > In the project you will find an About form in Help menu. > This About form takes a RichText file and scrolls it from bottom to top > in a DrawArea on the About form. > > When using gb.qt4 comp

[Gambas-user] Possible bug in GridView .Font property

2013-06-22 Thread Ru Vuott
Hello, I would like to bring to your attention this code: Public Sub Form_Open() With GridView1 .Columns.Count = 2 .Rows.Count = 2 .Columns. W = GridView1.W * 0.5 End With ' 1st case: With GridView1[0, 0] .Font.Size = 20 .Font.Bold = True .Text =

Re: [Gambas-user] Possible bug

2013-05-15 Thread Charlie
Hi Olivier Cruilles, I have found a work around. As suggested earlier by Caveat using "// ". I now have: - *Public Sub Button1_Click() Dim SDir As String Sdir = DirChooser1.SelectedPath SDir = "ls " & Replace(SDir, " ", "\\ ") & " > Temp.txt" Shell SDir End * The output to the shell is : -

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-15 Thread Rolf-Werner Eilert
Couldn't answer any sooner today, sorry. > What I actually do is have the data read from a .csv file into a > gridview when opening the form (see screenshot 1). Ah ok. > Data storing is on hard disk in .csv > GUI representation of data is reading .csv into a gridview > Data is needed for further

Re: [Gambas-user] Possible bug

2013-05-15 Thread Jussi Lahtinen
This bug doesn't seem to apply to Gambas 3.4.1. So, try to update. Jussi On Tue, May 14, 2013 at 7:09 PM, Charlie wrote: > Hi all, > > You need one *Button* and one *DirChooser* on your form > I have reduced code to the following to emulate this bug I am getting: - > '*

Re: [Gambas-user] Possible bug

2013-05-15 Thread Olivier Cruilles
Hello Charlie, I think you have this problem when the 'gb.qt4.ext' is not selected in the Preferencies -> Components. Because this symbol depend on this component. Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 15 mai 2013 à 15:25, Charlie a écrit : > Hi Caveat and Benoît,

Re: [Gambas-user] Possible bug

2013-05-15 Thread Charlie
Hi Caveat and Benoît, Thanks for the replys. I will try a workaround, and I am pleased it's not a issue for anybody else. Should you be interested I have created a desktop video of the problem and supplied the code that causes my Gambas to crash. You will find the files at http://www.cogier.co

Re: [Gambas-user] Possible bug

2013-05-14 Thread Caveat
Yeah, I see what you're trying to do. You can use \\ to make a single \ as the \ is normally the first part of a special character constant (e.g. \t makes a Tab character). I think you can just wrap file/dir names with spaces in them in quotes for use in bash scripts. Oh, and my Gambas doesn't

Re: [Gambas-user] Possible bug

2013-05-14 Thread Benoît Minisini
Le 15/05/2013 01:17, Charlie a écrit : > Hi Benoit, > > It may, or may not, be good syntax but press F5 and Gambas crashes. You can > not compile it because Gambas crashes. > > The purpose of the code was to change "dir" string into a form tha BASH would > accept from Shell command if there are

Re: [Gambas-user] Possible bug

2013-05-14 Thread Charlie
Hi  Benoit, It may, or may not, be good syntax but press F5 and Gambas crashes. You can not compile it because Gambas crashes. The purpose of the code was to change "dir" string into a form tha BASH would accept from Shell command if there are spaces in the "dir" string. I am not an expert in

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-14 Thread Willy Raets
On Tue, 2013-05-14 at 20:37 +0200, Benoît Minisini wrote: > Le 14/05/2013 02:58, Willy Raets a écrit : > > Hello, > > > > I have following problem in a project: > > > > I have a valuebox and a gridview. > > > > I enter a number in the value box (let's say 1/2) and next add it to a > > cell in gridv

Re: [Gambas-user] Possible bug

2013-05-14 Thread Benoît Minisini
Le 14/05/2013 18:09, Charlie a écrit : > Hi all, > > You need one *Button* and one *DirChooser* on your form > I have reduced code to the following to emulate this bug I am getting: - > '* > Public Sub _new() > End > > Public Sub Form_Open() >

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-14 Thread Benoît Minisini
Le 14/05/2013 02:58, Willy Raets a écrit : > Hello, > > I have following problem in a project: > > I have a valuebox and a gridview. > > I enter a number in the value box (let's say 1/2) and next add it to a > cell in gridview with a button > > Public Sub btnAdd_Click() > >GridView1[0, 0].Text

[Gambas-user] Possible bug

2013-05-14 Thread Charlie
Hi all, You need one *Button* and one *DirChooser* on your form I have reduced code to the following to emulate this bug I am getting: - '* Public Sub _new() End Public Sub Form_Open() End Public Sub Button1_Click() Dim SDir As String Sdi

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-13 Thread Rolf-Werner Eilert
And then I just came across this one: > > I have a valuebox and a gridview. > > I enter a number in the value box (let's say 1/2) and next add it to a > cell in gridview with a button > > When Regional settings are some European mainland country > Entering 5 1/2 in a valuebox looks like: > 5,5 (->

Re: [Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-13 Thread Rolf-Werner Eilert
Am 14.05.2013 02:58, schrieb Willy Raets: > Hello, > > I have following problem in a project: > > When Regional settings are English US of UK this works fine > When Regional settings are a European mainland country this results in: > > Error 6: Type mismatch: wanted Float, got Null instead > > Se

[Gambas-user] Possible bug?: Regional formats, float, text and val() function

2013-05-13 Thread Willy Raets
Hello, I have following problem in a project: I have a valuebox and a gridview. I enter a number in the value box (let's say 1/2) and next add it to a cell in gridview with a button Public Sub btnAdd_Click() GridView1[0, 0].Text = ValueBox1.Value End When Regional settings are English US o

Re: [Gambas-user] Possible bug in textarea foreground color

2012-06-12 Thread Benoît Minisini
Le 12/06/2012 21:48, Ricardo Díaz Martín a écrit : > Opps, here it goes! > OK. Bug fixed in revision #4825. Regards, -- Benoît Minisini -- Live Security Virtual Conference Exclusive live event will cover all the ways t

Re: [Gambas-user] Possible bug in textarea foreground color

2012-06-12 Thread Ricardo Díaz Martín
Opps, here it goes! 2012/6/12 Benoît Minisini > Le 11/06/2012 12:17, Ricardo Díaz Martín a écrit : > > Hi, > > > > Try to exec this sample and you can see the text inside textarea is not > > "green". If you select this, then it changes to green. > > Which sample? > > -- > Benoît Minisini > > >

Re: [Gambas-user] Possible bug in textarea foreground color

2012-06-12 Thread Benoît Minisini
Le 11/06/2012 12:17, Ricardo Díaz Martín a écrit : > Hi, > > Try to exec this sample and you can see the text inside textarea is not > "green". If you select this, then it changes to green. Which sample? -- Benoît Minisini

[Gambas-user] Possible bug in textarea foreground color

2012-06-11 Thread Ricardo Díaz Martín
Hi, Try to exec this sample and you can see the text inside textarea is not "green". If you select this, then it changes to green. [System] OperatingSystem=Linux Kernel=3.2.0-24-generic Architecture=x86_64 Memory=4046444 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04 LTS" Desktop=

[Gambas-user] possible bug in Gambas IDE

2011-08-24 Thread Fabián Flores Vadell
Gambas 3 RC2 rev: 4009 In the watch tab, click on the remove button when there's nothing selected, cause that the Gambas IDE closes suddenly. (try enough if crash not happen immediately). Can someone check it? -- Fabián Flores Vadell www.comoprogramarcongambas.blogspot.com www.speedbooksargenti

Re: [Gambas-user] Possible bug in g3 ide

2011-07-31 Thread Benoît Minisini
> OS: Ubuntu Natty > Gambas3: RC1 > Project: with QT > Bug: detected in different works. Last procedure before bug: save the > project and all the forms > When bug compares: it compares after opening a project > > > Andrea BERTINI > Rome-Italy > Please a send a project that has that bug, and pl

Re: [Gambas-user] Possible bug in g3 ide

2011-07-31 Thread Andrea Bertini
openSUSE 11.4 (Kevin Fishburne) > 6. Re: gb3 requirements on openSUSE 11.4 (Paolo Pant?) > > > -- Messaggio inoltrato -- > From: Jussi Lahtinen > To: mailing list for gambas users > Date: Sun, 31 Jul 2011 14:28:09 +0300 > Subject: Re: [Gambas-user] Possible bug in g3

Re: [Gambas-user] Possible bug in g3 ide

2011-07-31 Thread Jussi Lahtinen
Does it always happen with same project? Can you take screenshot of it? I haven't see it happen in any Ubuntu, what is your operating system? Debian? Arch Linux? OpenSUSE? Red Hat? Or..? Do your project use GTK+ or Qt? Jussi On Sun, Jul 31, 2011 at 10:11, Andrea Bertini wrote: > In data 30 lug

Re: [Gambas-user] Possible bug in g3 ide

2011-07-31 Thread Andrea Bertini
In data 30 luglio 2011 alle ore 22:27:07, ha scritto: > Re: Possible bug in g3 ide the use gambas3 rc1, now install the svn. the bug has appeared 3 or 4 times. I do not understand how it happened. ab -- Creato con il rivoluzionario client email di Opera: http://www.opera.com/mail/ ---

Re: [Gambas-user] Possible bug in g3 ide

2011-07-30 Thread Jussi Lahtinen
Operating system? Revision? How to reproduce this bug? Can you attach project to demonstrate this? Jussi On Sat, Jul 30, 2011 at 17:53, Andrea Bertini wrote: > I can report a bug g3: in some cases if you close the program and reopen > the > program, some controls (buttons, panels) are missing

[Gambas-user] Possible bug in g3 ide

2011-07-30 Thread Andrea Bertini
I can report a bug g3: in some cases if you close the program and reopen the program, some controls (buttons, panels) are missing from the form, changing their size and location. Andrea BERTINI Rome-Italy -- Got Input?

Re: [Gambas-user] possible bug

2011-07-29 Thread Benoît Minisini
> Hi everybody. > > I get the following message error: > > > "This application has raised an unexpected error and must abort. > > [6] Type mismatch: wanted FEditor, got FForm instead. > > CComponent.MustScan.1109" > > >From the Gambas Editor seems obvious to me > > when I want to write the c

Re: [Gambas-user] possible bug

2011-07-29 Thread Jussi Lahtinen
Confirmed with Gambas 3 rev 3952 @ Ubuntu 11.04 64bit. Jussi 2011/7/29 Fabián Flores Vadell > Hi everybody. > > I get the following message error: > > > "This application has raised an unexpected error and must abort. > > [6] Type mismatch: wanted FEditor, got FForm instead. > > CComponent.Mus

[Gambas-user] possible bug

2011-07-29 Thread Fabián Flores Vadell
Hi everybody. I get the following message error: "This application has raised an unexpected error and must abort. [6] Type mismatch: wanted FEditor, got FForm instead. CComponent.MustScan.1109" >From the Gambas Editor seems obvious to me when I want to write the code in the attached projec

Re: [Gambas-user] Possible bug in Desktop.Open()

2010-03-22 Thread Ricardo Díaz Martín
Thanks, I'm going to try again in other linux box to know what happen. The most strange is I execute source code form gambas IDE works as expected. Only executable file doesn't work this way. Regards, Ricardo Díaz 2010/3/22 Benoît Minisini > > Hi, > > > > Please try to run this simple code from

  1   2   >