Re: [Gambas-user] Some file/use or progress bar questions.

2009-02-02 Thread Doriano Blengino
richard terry ha scritto: (about the speed penalty) Yes, updating the screen is sometimes a speed penalty, depending on the complexity of the update, and the underlying hardware/software. For a X console (xterm), it is a *big* job to scroll the text - something less if the text does not scroll.

[Gambas-user] One old bug (and maybe a new one?)

2009-02-02 Thread Leonardo Miliani
1) The old bug I still continue to get the borders of the forms even if I set the border property to "none" (Gambas 2.11.1 compiled from sources, Ubuntu 8.10 with Gnome 2.24, gb.qt component). 2) The new bug Is it me or the property viewer of the IDE doesn't show the help under the properties list

Re: [Gambas-user] Some file/use or progress bar questions.

2009-02-02 Thread Ron_1st
On Monday 02 February 2009, richard terry wrote: > 1) I have a file with some 30,000 lines, but I want to know how many lines > are > in the file before I do anything to it - is this possible. I couldn't see how > just looking at the syntax for files. > > > 2) Given that I could figure out how

Re: [Gambas-user] Some file/use or progress bar questions.

2009-02-02 Thread Frank Cox
On Mon, 02 Feb 2009 21:40:49 +1100 richard terry wrote: > 1) I have a file with some 30,000 lines, but I want to know how many lines > are > in the file before I do anything to it - is this possible. I couldn't see how > just looking at the syntax for files. If your line lengths are random, th

Re: [Gambas-user] Help with converting text in field to number

2009-02-02 Thread richard terry
On Tue, 3 Feb 2009 06:45:14 am werner 007 wrote: > Hello Richard > > For me it looks you want use "Group By" instead Unions in SQL to get the > Resultset like > > > xaxes-text|count|display_order > > --- > > 5-6 5 1 > > 6-7

[Gambas-user] Speed penalty to write to textbox or label

2009-02-02 Thread richard terry
I wondered if one or the other was slowest? I'm importing probably hundreds of thousands of records into my program, for example 30,000 + pathology, 20,000 + referral or recall letters, and so as to keep myself amused and follow what is happening I write a little something to the screen. I won

[Gambas-user] Some file/use or progress bar questions.

2009-02-02 Thread richard terry
1) I have a file with some 30,000 lines, but I want to know how many lines are in the file before I do anything to it - is this possible. I couldn't see how just looking at the syntax for files. 2) Given that I could figure out how many lines, I wondered if someone could give me some tips on h

Re: [Gambas-user] Help with converting text in field to number

2009-02-02 Thread werner 007
Hello Richard For me it looks you want use "Group By" instead Unions in SQL to get the Resultset like > xaxes-text|count|display_order > --- > 5-6 5 1 > 6-7 1002 > over 7 10 3 > And t

Re: [Gambas-user] Drag'n'drop and url decode

2009-02-02 Thread werner 007
Hallo Ivan Once i had the same task to do. The replace(...,..) function is maybe the best for "file://" and "/r/n". For decoding url stuff has Benoit recommended to look at CGI.Decode(). I did it not because my lazyness and my code does what it should so far. The hole thread is here: http://www

[Gambas-user] Modularity problem!

2009-02-02 Thread Jussi Lahtinen
Hi! I'm converting vb6 project to gambas2. In my project there are two modules (let's say example moduleA and moduleB) that have different kind of basic functions and subs. These functions are located in these modules by their category (moduleA contains UI & message handling, and moduleB rest). The

Re: [Gambas-user] Gambas version and mod with Long behavior

2009-02-02 Thread Benoit Minisini
On lundi 2 février 2009, Ron wrote: > Benoit Minisini schreef: > > On lundi 2 février 2009, Ron wrote: > >> Hi, > >> > >> I have noticed that the gambas version number is not displayed anymore > >> in the about window of Gambas 2.11.1 > >> Also the logo there seems to cover the t of .net, maybe tha

Re: [Gambas-user] Gambas version and mod with Long behavior

2009-02-02 Thread Ron
Benoit Minisini schreef: > On lundi 2 février 2009, Ron wrote: > >> Hi, >> >> I have noticed that the gambas version number is not displayed anymore >> in the about window of Gambas 2.11.1 >> Also the logo there seems to cover the t of .net, maybe thats the reason >> the rest is missing. >> It j

Re: [Gambas-user] Nesting objects into gridview cells

2009-02-02 Thread Ron_1st
On Monday 02 February 2009, M0E Lnx wrote: > So really, what you're sugesting is create an object at the exact same > coordinates as the disired cell's position, and should also be the > same size as the cell? Yes indeed. > > or am I understanding this wrong? > No not misunderstanding. You cou

Re: [Gambas-user] Gambas version and mod with Long behavior

2009-02-02 Thread Benoit Minisini
On lundi 2 février 2009, Ron wrote: > Hi, > > I have noticed that the gambas version number is not displayed anymore > in the about window of Gambas 2.11.1 > Also the logo there seems to cover the t of .net, maybe thats the reason > the rest is missing. > It just show Gambas2 here... would be handy

[Gambas-user] Gambas version and mod with Long behavior

2009-02-02 Thread Ron
Hi, I have noticed that the gambas version number is not displayed anymore in the about window of Gambas 2.11.1 Also the logo there seems to cover the t of .net, maybe thats the reason the rest is missing. It just show Gambas2 here... would be handy to see which one. Another thing: PUBLIC SUB

Re: [Gambas-user] Nesting objects into gridview cells

2009-02-02 Thread M0E Lnx
So really, what you're sugesting is create an object at the exact same coordinates as the disired cell's position, and should also be the same size as the cell? or am I understanding this wrong? -- This SF.net email is sp

[Gambas-user] Drag'n'drop and url decode

2009-02-02 Thread Ivan Tarozzi
Hi, I'm using a Drop event in a ListView. When I d'n'd files from nautilus to my gambas application, I can retrieve the file names using drag.Data property. Data is in the url format, several files are separated by \r\n Is there a simple way to decode the names? Instead to use the right and left

Re: [Gambas-user] Gambas & PostgreSQL cannot create index. relation XXX does not exist.

2009-02-02 Thread Benoit Minisini
On lundi 2 février 2009, Randy wrote: > Benoit Minisini wrote: > > On jeudi 22 janvier 2009, Randy wrote: > >> Hello. > >> > >> New to Gambas and having problems with following code: > >> > >> STATIC PUBLIC FUNCTION CreateGLTables() > >> > >> DIM hTable AS Table > >> > >> hTable = Global.$hConn