[Gambas-user] svn-compile error part1

2009-01-29 Thread Ron_1st
part 0 update the 1830 to 1834 r...@terminator:/home/ron/src/gambas3/trunk# svn update Restored 'gb.gtk/src/gb.gtk/.info' Restored 'gb.gtk/src/gb.gtk/.list' Restored 'comp/src/gb.form.mdi/.list' Restored 'comp/src/gb.form.mdi/.info' Restored 'comp/src/gb.report/.list' Restored 'comp/src/gb.report/

Re: [Gambas-user] To wishlist: Missing assignment operator.

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Jussi Lahtinen wrote: > Hi! > > Now I have to write like this; > ff = ff ^ 1.2 > instead of this; > ff ^= 1.2 > > I think this is rarely used (not rare in my project), but nice to > have. I was little suprised that it is absent. > So, low priority. > Thanks! > > > Jussi >

Re: [Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Simonart Dominique wrote: > Dominique SIMONART a écrit : > > Hi evererybody, > > > > If I code the few lines showed below: > > > > DIM X AS Byte > > DIM Texte AS String[64] > > > > X = &h2E > > X += &hE0 > > TextBox1.Text = Hex(X) > > Texte[X] = Hex(X) > > > > I ge

Re: [Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Simonart Dominique wrote: > Dominique SIMONART a écrit : > > Hi evererybody, > > > > If I code the few lines showed below: > > > > DIM X AS Byte > > DIM Texte AS String[64] > > > > X = &h2E > > X += &hE0 > > TextBox1.Text = Hex(X) > > Texte[X] = Hex(X) > > > > I ge

Re: [Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Simonart Dominique
Dominique SIMONART a écrit : > Hi evererybody, > > If I code the few lines showed below: > > DIM X AS Byte > DIM Texte AS String[64] > > X = &h2E > X += &hE0 > TextBox1.Text = Hex(X) > Texte[X] = Hex(X) > > I get '10E' displayed. Is this correct for a byte? > If you put a breakpoint on

[Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Dominique SIMONART
Hi evererybody, If I code the few lines showed below: DIM X AS Byte DIM Texte AS String[64] X = &h2E X += &hE0 TextBox1.Text = Hex(X) Texte[X] = Hex(X) I get '10E' displayed. Is this correct for a byte? If you put a breakpoint on the TextBox1 line, the local variables show X value as 14

Re: [Gambas-user] Broken dependencies in Ubuntu 8.04 packages

2009-01-29 Thread Rob
On Thursday 29 January 2009 09:38, Benoit Minisini wrote: > xdg-utils are just shell scripts. These scripts detect the current > desktop environment when they are run, and execute desktop-specific > commands according to what they detected. > So making them depends on X11 or any desktop environment

[Gambas-user] To wishlist: Missing assignment operator.

2009-01-29 Thread Jussi Lahtinen
Hi! Now I have to write like this; ff = ff ^ 1.2 instead of this; ff ^= 1.2 I think this is rarely used (not rare in my project), but nice to have. I was little suprised that it is absent. So, low priority. Thanks! Jussi -

Re: [Gambas-user] General Forms / Display manager ...

2009-01-29 Thread Rolf Schmidt
Hi Gareth > Can someone tell me .. if I do form.Hide, then form.Show .. would you > expect the form to reappear in the same place .. > > If not, where would you reset top/left in order to control it's position on > show .. Check if the form_show() event and/or the form_resize() event was called

Re: [Gambas-user] Slow Gridview creation

2009-01-29 Thread M. Cs.
Thanks Benoit, it WORKS! Now the speed is O.K. God bless you! Csaba -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Ron
Benoit Minisini schreef: > On jeudi 29 janvier 2009, Ron_1st wrote: > >> On Thursday 29 January 2009, Benoit Minisini wrote: >> >>> The '!' syntactic sugar works only if you use an identifier. Otherwise >>> you must use the [] syntax: rResult["triggers.id"]. >>> >> Does gambas return

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Ron_1st wrote: > On Thursday 29 January 2009, Benoit Minisini wrote: > > The '!' syntactic sugar works only if you use an identifier. Otherwise > > you must use the [] syntax: rResult["triggers.id"]. > > Does gambas returns then from second table 'triggers' the field 'id'

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Ron_1st
On Thursday 29 January 2009, Benoit Minisini wrote: > The '!' syntactic sugar works only if you use an identifier. Otherwise you > must use the [] syntax: rResult["triggers.id"]. Does gambas returns then from second table 'triggers' the field 'id' as "triggers.id" ? The query "SELECT * FROM tab

[Gambas-user] General Forms / Display manager ...

2009-01-29 Thread Gareth Bult
Hi, Can someone tell me .. if I do form.Hide, then form.Show .. would you expect the form to reappear in the same place .. If not, where would you reset top/left in order to control it's position on show .. It looks like (for me) the window manager is (re-)positioning the form on show, eve

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Ron_1st
On Thursday 29 January 2009, Ron wrote: > Ron_1st schreef: > > On Thursday 29 January 2009, Ron wrote: > > > >> Bit stuck. > >> > >> In an attempt to optimize some db queries. > >> > >> I changed this (gets all events first then check if enabled, then gets > >> the trigger fields for that event

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Ron wrote: > Bit stuck. > > In an attempt to optimize some db queries. > > I changed this (gets all events first then check if enabled, then gets > the trigger fields for that event etc): > > DIM rResult, rResultTrig, rResultAction AS Result > > rResult = Main.hDB

Re: [Gambas-user] Broken dependencies in Ubuntu 8.04 packages

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Rob wrote: > On Thursday 29 January 2009 07:41, Ron_1st wrote: > > Requires or depends, thats the question. > > When speaking in terms of package managers, there's no practical > difference. > > > however for package xdg-utils > > suggested: desktop-file-utils/kdelibs/ko

Re: [Gambas-user] Broken dependencies in Ubuntu 8.04 packages

2009-01-29 Thread Rob
On Thursday 29 January 2009 07:41, Ron_1st wrote: > Requires or depends, thats the question. When speaking in terms of package managers, there's no practical difference. > however for package xdg-utils > suggested: desktop-file-utils/kdelibs/konqueror/lib.../menu > recommended: file/icewease

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Ron
Ron_1st schreef: > On Thursday 29 January 2009, Ron wrote: > >> Bit stuck. >> >> In an attempt to optimize some db queries. >> >> I changed this (gets all events first then check if enabled, then gets >> the trigger fields for that event etc): >> >> DIM rResult, rResultTrig, rResultActio

Re: [Gambas-user] ServerSocket application without Forms

2009-01-29 Thread Jose J. Rodriguez
On 1/28/09, Benoit Minisini wrote: > On mardi 27 janvier 2009, Jose J. Rodriguez wrote: > > Is it possible to use ServerSocket in an applciation without Forms? I > > have been placed all the code in the Main Module and though I get a > > connection, the _Connection event does not seem to fire.

Re: [Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Ron_1st
On Thursday 29 January 2009, Ron wrote: > Bit stuck. > > In an attempt to optimize some db queries. > > I changed this (gets all events first then check if enabled, then gets > the trigger fields for that event etc): > > DIM rResult, rResultTrig, rResultAction AS Result > > rResult = M

Re: [Gambas-user] Broken dependencies in Ubuntu 8.04 packages

2009-01-29 Thread Ron_1st
On Thursday 29 January 2009, Rob wrote: > On Wednesday 28 January 2009 20:09, Benoit Minisini wrote: > > As for xdg-utils, gambas2-runtime uses it to install gambas mime files. > > Is it really required? Because if so, then it's no longer possible to > install Gambas on a command-line only machi

[Gambas-user] How to address more than one table in resultset

2009-01-29 Thread Ron
Bit stuck. In an attempt to optimize some db queries. I changed this (gets all events first then check if enabled, then gets the trigger fields for that event etc): DIM rResult, rResultTrig, rResultAction AS Result rResult = Main.hDB.Exec("SELECT * FROM events") IF rResult THEN I