[Gambas-user] bash question

2009-10-07 Thread richard terry
to any scripters amongst us. is there any simple bash command to remove the first line in a file and leave the rest?, short of reading all the lines and re-writing the file? Thanks in anticipation. Richard -- Come bui

Re: [Gambas-user] found some problems in gabmas2

2009-10-07 Thread Benoît Minisini
> Salut, > > The first is easy to reproduce: > > - working with gambas-DBmanager if you navigate by keys to an empty > field, which is not to fill ('length' behind 'Float') the app crash. > Same if you press in such a field any key. I got the crash with gb.gtk. I will fix it in the next commit.

Re: [Gambas-user] stop file COPY

2009-10-07 Thread Benoît Minisini
> Benoît, > > If I called COPY from a form and closed that form while the COPY command > was still copying a large file would that stop the action? > or would the command still copy the file in the background? > > Regards, > Dimtiris > There is no background process or threads in Gambas, unles

Re: [Gambas-user] equivalent to python dictionaries in gambas2?

2009-10-07 Thread M0E Lnx
Will try the collection and see how it goes. I was thinking maybe a multi-dimensional array I know how to use arrays, but not multi-dimensional. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is t

Re: [Gambas-user] equivalent to python dictionaries in gambas2?

2009-10-07 Thread Dimitris Anogiatis
Hey Moe, You could use a Collection to achieve what you just described to us. Take a look at the link below for more details http://www.gambasdoc.org/help/comp/gb/collection Regards, Dimitris On Wed, Oct 7, 2009 at 2:26 PM, M0E Lnx wrote: > Hi guys, I'm trying to figure out if there is a way

[Gambas-user] equivalent to python dictionaries in gambas2?

2009-10-07 Thread M0E Lnx
Hi guys, I'm trying to figure out if there is a way to do this in gambas. In python, you can have a dictionary object (declared like "list = [key1:value1,key2:value2,key3:value3]") As you can see, it's like a string[] where each object is a key=value pair. I'm wondering if there is a way to emula

Re: [Gambas-user] dialog.path simple question.

2009-10-07 Thread Fabien Bodard
http://gambasdoc.org/help/comp/gb/file?v3 And more 2009/10/7 Stefano Palmeri : > Il mercoledì 7 ottobre 2009 14:11:50 richard terry ha scritto: >> Hi all, >> >> If one has >> >>  Dialog.Path >> >> ie a returned file name, is there a gambas command to chop off the filename >> itself, or does o

Re: [Gambas-user] QT themes and program appearance

2009-10-07 Thread Fabien Bodard
In fact it is :-) http://gambasdoc.org/help/comp/gb.qt/application/theme Print Application.Theme 2009/10/7 Ricardo Díaz Martín : > Application.Theme?? > > I think it isn't documented yet at gambas's help > > I wonder how it works? > > > > 2009/10/6 Benoît Minisini > >> > I wonder if any o

Re: [Gambas-user] QT themes and program appearance

2009-10-07 Thread Ricardo Díaz Martín
Application.Theme?? I think it isn't documented yet at gambas's help I wonder how it works? 2009/10/6 Benoît Minisini > > I wonder if any one could be kind enough to explain to me how to change > the > > icon themes that show up in ones program. > > > > I though it was via qtconfig but t

Re: [Gambas-user] stop file COPY

2009-10-07 Thread Dimitris Anogiatis
Benoît, If I called COPY from a form and closed that form while the COPY command was still copying a large file would that stop the action? or would the command still copy the file in the background? Regards, Dimtiris On Mon, Sep 28, 2009 at 7:10 AM, zerkowski sur bouquiniste.biz < zerkow...@bou

Re: [Gambas-user] dialog.path simple question.

2009-10-07 Thread Stefano Palmeri
Il mercoledì 7 ottobre 2009 14:11:50 richard terry ha scritto: > Hi all, > > If one has > > Dialog.Path > > ie a returned file name, is there a gambas command to chop off the filename > itself, or does one just have to parse the string. > > thanks in anticipation > > richard > File.BaseName(Dialo

[Gambas-user] dialog.path simple question.

2009-10-07 Thread richard terry
Hi all, If one has Dialog.Path ie a returned file name, is there a gambas command to chop off the filename itself, or does one just have to parse the string. thanks in anticipation richard -- Come build with us! Th

Re: [Gambas-user] Stack backtrace window

2009-10-07 Thread Jussi Lahtinen
OK, now I feel dumb. I find it. But, I think that window should have menu entry, "Show stack backtrace window" etc. Now it is so sneaky, that I'm sure that there is someone who doesn't know that such window even exist! Just for sure, I attached screenshot about how it appears on my system. pic1.pn

Re: [Gambas-user] Socket not working in 2.8

2009-10-07 Thread Fabien Bodard
yes read about handle !... and NEW keyword :/... this is the basis in Gambas in Object management. (and in oo language) With the desing mode the handle is automatically created from the control name. 2009/10/5 nospam.nospam.nos...@gmail.com : > On Sun, 2009-10-04 at 16:30 +0200, Ron wrote: >> no