Re: [Gambas-user] Variation in output

2015-12-11 Thread Charlie
Thanks for looking at this. Regarding the 'Esc' colour characters, the code posted does remove them. I also discovered that when run as an executable there are lots of other characters that are not showing in the IDE like *chr(3)* but these can easily be removed. The main issue for me is why has

Re: [Gambas-user] Class header features (was: Declaring variables in class header without Public/Private is possible...)

2015-12-11 Thread Tobias Boege
On Fri, 11 Dec 2015, Moviga Technologies wrote: > > > > Things are PRIVATE by default, but it was not necessarily a good idea > > to > > allow that. > > > > Maybe I should remove that, but it's not backward-compatible, so many > > programs will not compile anymore. > > > > Regards, > > Thank y

Re: [Gambas-user] Gridview

2015-12-11 Thread adamn...@gmail.com
On Sat, 12 Dec 2015 07:01:14 +0100 Fabien Bodard wrote: > can you send me a short example that show the poblem ... i can't reproduce it > > 2015-12-12 5:51 GMT+01:00 Buster Seven : > > Its not exacly how i want to fix it but i can handle that > > so is this no longer how it's ment to work? > > >

[Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4

2015-12-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #2 by Fabien BODARD: It seem to work if you set resizable to true -- ___ Gambas-user mailing list G

Re: [Gambas-user] Gridview

2015-12-11 Thread Fabien Bodard
can you send me a short example that show the poblem ... i can't reproduce it 2015-12-12 5:51 GMT+01:00 Buster Seven : > Its not exacly how i want to fix it but i can handle that > so is this no longer how it's ment to work? > > Thanks > > > On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert < > e

Re: [Gambas-user] Gridview

2015-12-11 Thread Buster Seven
Its not exacly how i want to fix it but i can handle that so is this no longer how it's ment to work? Thanks On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wrote: > > Am 09.12.2015 09:44, schrieb Buster Seven: > > I use to be able to do this code GridView1.Fon

[Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4

2015-12-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- Comment #1 by Zainudin AHMAD: it's fine(with qt4 or gtk+/gtk3) in my system, with 3.8.1, 3.8.2 and 3.8.3 (I don't have 3.8.0 and qt5) I have some widgets (6 widgets and 7 notes of course without border) and use it every day(logi

Re: [Gambas-user] need tests together, I get segfault

2015-12-11 Thread zainudin ahmad
have the same libqt version but the problem is different Thank you. On Fri, Dec 11, 2015 at 5:20 PM, Charlie Reinl wrote: > Am Freitag, den 11.12.2015, 05:53 +0700 schrieb zainudin ahmad: > > Hi All > > > > with this project (attach project) I get segfault message. > > > > may be someone have t

Re: [Gambas-user] need tests together, I get segfault

2015-12-11 Thread zainudin ahmad
the project was only to isolate the bug that I get in my system, so it is still possible the problem only occurs in my system. how about your sys info ? (libqt4 version) thanks for your time On Fri, Dec 11, 2015 at 2:54 PM, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wrote: > Hi Ahmad, >

[Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4

2015-12-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- gbWilly GAMBOS added an attachment: BorderlessForm.png -- ___ Gambas-user mailing list Gambas-user@lists.so

[Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4

2015-12-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- gbWilly GAMBOS added an attachment: BorderBug-0.0.1.tar.gz -- ___ Gambas-user mailing list Gambas-user@list

[Gambas-user] [Gambas Bug Tracker] Bug #869: Borderless form shows border in qt4

2015-12-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.869&from=L21haW4- gbWilly GAMBOS reported a new bug. Summary --- Borderless form shows border in qt4 Type : Bug Priority : Medium Gambas version : 3.8 Product : QT4 component Description --- Up to Gam

Re: [Gambas-user] Variation in output

2015-12-11 Thread zainudin ahmad
you right (attach pic) On Sat, Dec 12, 2015 at 6:27 AM, Jussi Lahtinen wrote: > Oh, so it was tar file... I got the project open and if I run it from > terminal everything is OK. > But if I just double click on the executable I get the gibberish. > > So, it is not necessarily IDE vs executable,

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
Thanks Benoit, I will keep in good account your recommendations. You and Jussi are really Kind Regards Gianluigi 2015-12-11 23:49 GMT+01:00 Benoît Minisini : > Le 11/12/2015 23:22, Gianluigi a écrit : > > Dear Benoit, > > I apologize for my poor English. > > I would like to get from the DateChose

Re: [Gambas-user] Variation in output

2015-12-11 Thread Jussi Lahtinen
"inxi -n -c0" removes the gibberish, but the MAC address etc are not told, instead it says ""?? Could this be permission problem? Jussi On Sat, Dec 12, 2015 at 1:27 AM, Jussi Lahtinen wrote: > Oh, so it was tar file... I got the project open and if I run it from > terminal everything is OK. >

Re: [Gambas-user] Variation in output

2015-12-11 Thread Jussi Lahtinen
Oh, so it was tar file... I got the project open and if I run it from terminal everything is OK. But if I just double click on the executable I get the gibberish. So, it is not necessarily IDE vs executable, but how it was launched. Output of "$ inxi -n" gives the result with different colors. May

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
Thanks Jussi, finally! I never used the DateChooser and I made the mistake of trusting Print. Print DateChooser1.Value --> 11/12/2015 0:00:00 and was looking for a way to get the only date. In the TextBox DateChooser.Value is OK. Now I understand your doubts. Thanks again Gianluigi 2015-12-11 23:4

Re: [Gambas-user] Declaring variables in class header without Public/Private is possible...

2015-12-11 Thread Moviga Technologies
> > Things are PRIVATE by default, but it was not necessarily a good idea > to > allow that. > > Maybe I should remove that, but it's not backward-compatible, so many > programs will not compile anymore. > > Regards, Thank you! You could save it for 4.0. Then you are allowed to make more back

Re: [Gambas-user] Declaring variables in class header without Public/Private is possible...

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 23:48, Moviga Technologies a écrit : > > > I was a bit puzzled to find that my program works fine without Public or > Private in the variable declarations in the class header. > > Are they Public or Private, or is this a bug? Things are PRIVATE by default, but it was not necessarily

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 23:22, Gianluigi a écrit : > Dear Benoit, > I apologize for my poor English. > I would like to get from the DateChoser localized date. > Example: If the code runs on a computer in Italy 25/12/2015 in USA > 12/25/2015. > Thank you > Gianluigi > Don't confuse a date value and its strin

[Gambas-user] Declaring variables in class header without Public/Private is possible...

2015-12-11 Thread Moviga Technologies
I was a bit puzzled to find that my program works fine without Public or Private in the variable declarations in the class header. Are they Public or Private, or is this a bug? --

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Jussi Lahtinen
> > Example: If the code runs on a computer in Italy 25/12/2015 in USA > 12/25/2015. > Yes, that will happen automatically, unless you use non-localized functions like CDate(). Jussi -- __

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
Dear Benoit, I apologize for my poor English. I would like to get from the DateChoser localized date. Example: If the code runs on a computer in Italy 25/12/2015 in USA 12/25/2015. Thank you Gianluigi 2015-12-11 20:28 GMT+01:00 Benoît Minisini : > Le 11/12/2015 19:38, Gianluigi a écrit : > > OK B

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Jussi Lahtinen
OK, so you mean this: Print Now; " -> "; Date(Now) -- 05/16/2002 15:10:59 -> 05/16/2002 There was some reason for this change... documentation is not accurate in this part. Perhaps it's Print that converts date part to date&time format before displaying it. Jussi

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 19:38, Gianluigi a écrit : > OK Benoit, > I want to get exactly what you get from 1 to 12. > How do I get over the whole month? > I mean: If they are in Italy 52 – 25/12/2015 and if they are in the USA 52 > - 12/25/2015 > > Regards > Gianluigi > I don't understand what you want to ac

Re: [Gambas-user] Variation in output

2015-12-11 Thread Fabien Bodard
try to change the charset for outout. 2015-12-11 18:31 GMT+01:00 Jussi Lahtinen : > The file (execute_bug.gz) seems to be corrupted, I can't open it. > Is that output to terminal? Maybe it is, because of your terminal settings? > > > Jussi > > On Fri, Dec 11, 2015 at 4:53 PM, Charlie wrote: > >

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
Oh I forgot, if property environment on LANG=C;LC_ALL=C my code work well ☺ Gianluigi 2015-12-11 19:38 GMT+01:00 Gianluigi : > OK Benoit, > I want to get exactly what you get from 1 to 12. > How do I get over the whole month? > I mean: If they are in Italy 52 – 25/12/2015 and if they are in the

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
If I use "Date" I give only the date and not hours, minutes and seconds although it is written as zero. It is the documentation that says so. Regards Gianluigi 2015-12-11 18:34 GMT+01:00 Jussi Lahtinen : > Date() returns only date part. See Time(). > > > Jussi > > On Fri, Dec 11, 2015 at 5:53 PM

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
OK Benoit, I want to get exactly what you get from 1 to 12. How do I get over the whole month? I mean: If they are in Italy 52 – 25/12/2015 and if they are in the USA 52 - 12/25/2015 Regards Gianluigi 2015-12-11 17:00 GMT+01:00 Benoît Minisini : > Le 11/12/2015 16:26, Gianluigi a écrit : > > Why

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Jussi Lahtinen
Date() returns only date part. See Time(). Jussi On Fri, Dec 11, 2015 at 5:53 PM, Gianluigi wrote: > Another anomaly > Print Now; " -> "; Date(Now) > return > 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 > Regards > Gianluigi > > [System] > Gambas=3.8.3 > OperatingSystem=Linux > Kernel=3.19.0-39

Re: [Gambas-user] Variation in output

2015-12-11 Thread Jussi Lahtinen
The file (execute_bug.gz) seems to be corrupted, I can't open it. Is that output to terminal? Maybe it is, because of your terminal settings? Jussi On Fri, Dec 11, 2015 at 4:53 PM, Charlie wrote: > Can someone have a look at a bug that I have run into. The output inside > the > IDE is as expec

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 16:26, Gianluigi a écrit : > Why this simple code works only between 1 and 12 of each month? > > Public Sub DateChooser1_Change() >Dim d As Date, s As Integer, valore As String > >d = Date(DateChooser1.Value) >valore = CString(d) >s = Week(d) >TextBox1.Text = s & "

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 16:53, Gianluigi a écrit : > Another anomaly > Print Now; " -> "; Date(Now) > return > 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 > Regards > Gianluigi > What's the anomaly? -- Benoît Minisini -- _

[Gambas-user] Variation in output

2015-12-11 Thread Charlie
Can someone have a look at a bug that I have run into. The output inside the IDE is as expected but when made into an executable the output is very different. Output when run in the IDE as expected: - Run_in_IDE.png Output when runnin

Re: [Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
Another anomaly Print Now; " -> "; Date(Now) return 11/12/2015 16:47:16 -> 11/12/2015 00:00:00 Regards Gianluigi [System] Gambas=3.8.3 OperatingSystem=Linux Kernel=3.19.0-39-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=15976M [Lib

[Gambas-user] DateChooser strange behavior

2015-12-11 Thread Gianluigi
Why this simple code works only between 1 and 12 of each month? Public Sub DateChooser1_Change() Dim d As Date, s As Integer, valore As String d = Date(DateChooser1.Value) valore = CString(d) s = Week(d) TextBox1.Text = s & " - " & CString(Val(valore)) End Regards Gianluigi ---

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 13:14, Rolf-Werner Eilert a écrit : > > Arrgh - Thank you! > > Why didn't I find that? Maybe one reason was that the automatic only > shows GridView.Row and reacts only when you type the 's.' "blindly", and > then shows the list again. So I couldn't find it from trying. > > But it's n

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Rolf-Werner Eilert
Am 11.12.2015 12:39, schrieb Benoît Minisini: > Le 11/12/2015 12:13, Rolf-Werner Eilert a écrit : >> No one here who knows how to achieve this? >> >> Regards >> Rolf >> >> Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: >>> In an older project with Gambas2, I needed to pick the X position of the

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 12:13, Rolf-Werner Eilert a écrit : > No one here who knows how to achieve this? > > Regards > Rolf > > Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: >> In an older project with Gambas2, I needed to pick the X position of the >> cells. The GridView has Headers = Both. It seems it s

Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Rolf-Werner Eilert
No one here who knows how to achieve this? Regards Rolf Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert: > In an older project with Gambas2, I needed to pick the X position of the > cells. The GridView has Headers = Both. It seems it started counting > with 0 at the first white column, i. e. behi

Re: [Gambas-user] need tests together, I get segfault

2015-12-11 Thread Charlie Reinl
Am Freitag, den 11.12.2015, 05:53 +0700 schrieb zainudin ahmad: > Hi All > > with this project (attach project) I get segfault message. > > may be someone have the same problem with me ?? > > sorry for my english. > Thank you. Salut, got no segfault, but freez my Desktop. [System] Gambas=3.8.

Re: [Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Rolf-Werner Eilert
Am 11.12.2015 10:06, schrieb Tobias Boege: > On Fri, 11 Dec 2015, Rolf-Werner Eilert wrote: >> Hi folks, >> >> There are some functions in a program which have too many arguments >> (arguments which aren't used in the function). I know that these >> functions are called from a number of places in

Re: [Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Fabien Bodard
2015-12-11 10:09 GMT+01:00 Rolf-Werner Eilert : > The profiler is a nice thing :) but it can list only functions that were > jumped at during runtime. The same with your function. > > I've just found a "solution" after all: I jumped to the function and > gave its name in the Find list for the whole

Re: [Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Rolf-Werner Eilert
The profiler is a nice thing :) but it can list only functions that were jumped at during runtime. The same with your function. I've just found a "solution" after all: I jumped to the function and gave its name in the Find list for the whole project. Up comes a list which you can click on. Ther

Re: [Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Tobias Boege
On Fri, 11 Dec 2015, Rolf-Werner Eilert wrote: > Hi folks, > > There are some functions in a program which have too many arguments > (arguments which aren't used in the function). I know that these > functions are called from a number of places in the program. > > So if I want to get rid of the

Re: [Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Fabien Bodard
You can use the profiler,that will give you a list of the call then you can do that by hand. make a collection with the name of the arguments: Private hCol as Collection = ["ARG1":0, "ARG2":0,...] MyFunction(arg1, arg2,arg3... if arg1 then Inc hCol["ARG1"] if arg2 then Inc hCol["ARG1"] end

[Gambas-user] Finding all function calls in IDE

2015-12-11 Thread Rolf-Werner Eilert
Hi folks, There are some functions in a program which have too many arguments (arguments which aren't used in the function). I know that these functions are called from a number of places in the program. So if I want to get rid of these superfluous arguments, I would like to find all calls to