[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 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

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

[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

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

[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, 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

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

[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

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 --

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

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 gam...@users.sourceforge.net: 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 =

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.Height

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 not have to

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 the comma.

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

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, I can

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

[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

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 shows as blank at

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

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 to the

[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

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 change

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. When

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 ignore

[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 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

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? No Benoit, I

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 downloaded the help

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 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

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 within

[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] [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 Fedora

[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

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

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 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 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 -- Download BIRT

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 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.html).

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

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 Gianluigi

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

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 according to your

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, I was online when I

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 I use the on-line

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 download the offline

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. On

[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 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)

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 see what

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. On

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 problem on other

[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 -

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. It

[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

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 tabo...@gmail.com 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,

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 tabo...@gmail.com 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

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

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 better wait

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 with

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 the same wrong

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 bottom to top

[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 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 component

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

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 char...@cogier.com a écrit : Hi

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 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 : - *ls

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

2013-05-14 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 Seems that

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

2013-05-14 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 (- with a

[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

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 =

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() End

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 gridview with a

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 any

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 spaces

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

[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

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

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 gam...@users.sourceforge.net 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

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

[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

[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

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

2011-07-31 Thread Andrea Bertini
In data 30 luglio 2011 alle ore 22:27:07, gambas-user-requ...@lists.sourceforge.net 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

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 and.bert...@gmail.com

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

2011-07-31 Thread Andrea Bertini
?) -- Messaggio inoltrato -- From: Jussi Lahtinen jussi.lahti...@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Date: Sun, 31 Jul 2011 14:28:09 +0300 Subject: Re: [Gambas-user] Possible bug in g3 ide Does it always happen with same project? Can

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 please

[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 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 and.bert...@gmail.com wrote: I can report a bug g3: in some cases if you close the program and reopen the program, some controls (buttons,

[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 project.

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 fabianfloresvad...@gmail.com 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

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 code in the

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

2010-03-22 Thread Benoît Minisini
Hi, Please try to run this simple code from Gambas2 IDE on KDE or gnome and works fine. After you make the executable file of the project, if you run the example from console *doesn't work on KDE* but *works in gnome *desktop. I think this is not a gambas bug because if I replace

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

2010-03-21 Thread Ricardo Díaz Martín
Hi, Please try to run this simple code from Gambas2 IDE on KDE or gnome and works fine. After you make the executable file of the project, if you run the example from console *doesn't work on KDE* but *works in gnome *desktop. I think this is not a gambas bug because if I replace

[Gambas-user] Possible bug in Translation Form (IDE)

2010-03-07 Thread EA7DFH
Hi Benoît In svn 2741 (Gambas2) I've got this error from the IDE when trying to open translation form: It is not possible to open translation file for 'Spanish(Spain)' language. FTranslate.UpdateOrg.1084: Null object Tested with several projects and all fail with the same error. Regards,

Re: [Gambas-user] Possible bug in Translation Form (IDE)

2010-03-07 Thread Fabien Bodard
i've the same error too ! 2010/3/7 EA7DFH ea7...@ea7dfh.com: Hi Benoît In svn 2741 (Gambas2) I've got this error from the IDE when trying to open translation form: It is not possible to open translation file for 'Spanish(Spain)' language. FTranslate.UpdateOrg.1084: Null object Tested

Re: [Gambas-user] Possible bug in Translation Form (IDE)

2010-03-07 Thread Benoît Minisini
i've the same error too ! 2010/3/7 EA7DFH ea7...@ea7dfh.com: Hi Benoît In svn 2741 (Gambas2) I've got this error from the IDE when trying to open translation form: It is not possible to open translation file for 'Spanish(Spain)' language. FTranslate.UpdateOrg.1084: Null

  1   2   >