Re: [Gambas-user] GridView: Missing Left property

2012-03-13 Thread Ricardo Díaz Martín
Thanks! El 14 de marzo de 2012 01:28, Benoît Minisini escribió: > Le 13/03/2012 11:12, Ricardo Díaz Martín a écrit : > > Hi Benoit, > > > > Can you create the synonym Left to X property? It's for keep > compatibility > > whit the older gridview control. > > > > Regards, > > Done in revision #4546

Re: [Gambas-user] GridView: Unable to set colum width to 0

2012-03-13 Thread Ricardo Díaz Martín
Works fine. Thanks! El 14 de marzo de 2012 01:35, Benoît Minisini escribió: > Le 13/03/2012 11:46, Ricardo Díaz Martín a écrit : > > Hi Benoit, > > > > After control gridview has been rewrited, I can set to 0 width the first > > column. > > > > I attach and example. > > > > Regards, > > > > PD: U

Re: [Gambas-user] Issue 225 in gambas: No prepared statements

2012-03-13 Thread gambas
Updates: Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #2 on issue 225 by benoit.m...@gmail.com: No prepared statements http://code.google.com/p/gambas/issues/detail?id=225 (No comment was entered for this change.)

Re: [Gambas-user] Issue 223 in gambas: RDir fails to recurse when Filter is set to gb.File

2012-03-13 Thread gambas
Updates: Status: Fixed Comment #2 on issue 223 by benoit.m...@gmail.com: RDir fails to recurse when Filter is set to gb.File http://code.google.com/p/gambas/issues/detail?id=223 Fixed in revision #4550. -- Vir

Re: [Gambas-user] Issue 224 in gambas: "Input" leaks memory

2012-03-13 Thread gambas
Comment #3 on issue 224 by benoit.m...@gmail.com: "Input" leaks memory http://code.google.com/p/gambas/issues/detail?id=224 Fixed in revision #4549. -- Virtualization & Cloud Management Using Capacity Planning Cloud com

Re: [Gambas-user] Issue 221 in gambas: DataSource & DataBrowser problem

2012-03-13 Thread gambas
Updates: Status: Fixed Comment #5 on issue 221 by benoit.m...@gmail.com: DataSource & DataBrowser problem http://code.google.com/p/gambas/issues/detail?id=221 It should be fixed in revision #4548 -- Virtualiza

Re: [Gambas-user] GridView: Unable to set colum width to 0

2012-03-13 Thread Benoît Minisini
Le 13/03/2012 11:46, Ricardo Díaz Martín a écrit : > Hi Benoit, > > After control gridview has been rewrited, I can set to 0 width the first > column. > > I attach and example. > > Regards, > > PD: Using QT in Ubuntu > In revision #4547, you can now set the column width to zero. But then the colu

Re: [Gambas-user] GridView: Missing Left property

2012-03-13 Thread Benoît Minisini
Le 13/03/2012 11:12, Ricardo Díaz Martín a écrit : > Hi Benoit, > > Can you create the synonym Left to X property? It's for keep compatibility > whit the older gridview control. > > Regards, Done in revision #4546. Regards, -- Benoît Minisini ---

[Gambas-user] Question about gambas2/3 on pandaboard and ubuntu 12.04 rc/beta

2012-03-13 Thread Raimondo Giammanco
Hello, I have a pandaboard and had gambas2 happily running on ubuntu 11.04. From the moment I had the idea of updating to 11.10, I started having problems (described below), and I even tried 12.04 rc but still no go. On ubuntu 12.04: Linux hostname 3.2.0-1407-omap4 #10-Ubuntu SMP PREEMPT F

Re: [Gambas-user] R: Prog.gambas only one process

2012-03-13 Thread Ru Vuott
Hello Jussi, wery well, yes I tried it and it works fine ! Mine works too, but yours it's shorter and more simple than mine ! I didn't know "pgrep"... thank you ! Optime ! I want to say to abbat.81 that the operation principle is substantially the same: "picking" the PID number in the string

Re: [Gambas-user] Dockable frames

2012-03-13 Thread Jesus
El 13/03/12 16:53, M. Cs. escribió: > Im sorry the mail just went away! I would like to know whether it is > possible to move frames inside a VBox so that they change place like > this: > A > B > C > > to > > C > A > B > > I would also like to displace a frame from one container into another > if p

Re: [Gambas-user] Read and arrays

2012-03-13 Thread Jussi Lahtinen
OK, I didn't notice that... Thanks! Jussi 2012/3/13 Benoît Minisini > Le 12/03/2012 17:21, tobi a écrit : > > On Mon, 12 Mar 2012, Jussi Lahtinen wrote: > > > >> I was thinking quicker way to read large binary files to memory. > >> And I noticed this; "The returned datatype can be one of the

Re: [Gambas-user] R: Prog.gambas only one process

2012-03-13 Thread Jussi Lahtinen
This is code that I use: Dim sOutput As String Exec ["pgrep", "-f", "-l", "NameOfYourProgram.gambas"] Wait To sOutput If Split(Trim$(sOutput), gb.NewLine).Count > 1 Then Quit Endif Jussi On Tue, Mar 13, 2012 at 03:29, Ru Vuott wrote: > My suggestion: > > << > > Public Sub Form

Re: [Gambas-user] Issue 224 in gambas: "Input" leaks memory

2012-03-13 Thread gambas
Comment #2 on issue 224 by emil.len...@gmail.com: "Input" leaks memory http://code.google.com/p/gambas/issues/detail?id=224 It seems like the Input statement does not use "Val" anymore to convert the input... If so, change the documentation. ---

Re: [Gambas-user] Issue 225 in gambas: No prepared statements

2012-03-13 Thread gambas
Comment #1 on issue 225 by raindog...@gmail.com: No prepared statements http://code.google.com/p/gambas/issues/detail?id=225 Actually, there kind of are. While there's no method called "prepare" in the Connection class, there is the Connection.Subst method, which safely quotes parameters to t

[Gambas-user] Issue 225 in gambas: No prepared statements

2012-03-13 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 225 by carhartt...@gmail.com: No prepared statements http://code.google.com/p/gambas/issues/detail?id=225 1) There are no prepared statements for safe(r) communication betw

[Gambas-user] Dockable frames

2012-03-13 Thread M. Cs.
Im sorry the mail just went away! I would like to know whether it is possible to move frames inside a VBox so that they change place like this: A B C to C A B I would also like to displace a frame from one container into another if possible. I know from experience, that this kind of manipulation

[Gambas-user] Dockable frames

2012-03-13 Thread M. Cs.
-- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, mo

Re: [Gambas-user] ?gambas bug dateadd with leap years???

2012-03-13 Thread Benoît Minisini
LOL... This bug was the same that made Microsoft server cloud unavailable during twelve hours! > On Wednesday 29 February 2012 10:39:49 Benoît Minisini wrote: >> Le 29/02/2012 00:34, Benoît Minisini a écrit : >>> Le 29/02/2012 00:08, Caveat a écrit : Yeah, strange... you can add 12 months (t

Re: [Gambas-user] R: Prog.gambas only one process - RECTIUS !!!

2012-03-13 Thread Ru Vuott
I tried my prototype, and it run ! If I try to run two times the same program... the second doesen't start !!! :-) It founded on: ps -aux | grep my_gambas__program In fact, i f you run that line in your Terminal, you can see the PID of "my_gambas_program". Uhmm... 1) Change this line:

[Gambas-user] GridView: Unable to set colum width to 0

2012-03-13 Thread Ricardo Díaz Martín
Hi Benoit, After control gridview has been rewrited, I can set to 0 width the first column. I attach and example. Regards, PD: Using QT in Ubuntu test-0.0.1.tar.gz Description: GNU Zip compressed data -- Keep Your Dev

[Gambas-user] GridView: Missing Left property

2012-03-13 Thread Ricardo Díaz Martín
Hi Benoit, Can you create the synonym Left to X property? It's for keep compatibility whit the older gridview control. Regards, -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learnin

Re: [Gambas-user] FMain_Focus() - DOES NOT WORK

2012-03-13 Thread Rolf-Werner Eilert
Maybe the form can't lose focus because there is always at least one control on it which gets the focus? Am 13.03.2012 10:34, schrieb abbat: > > Strange > Now it works so: > > Public Sub Form_LostFocus() > Me.Close > End > > BUT ! > If my form has NO controls. > > If I add one

Re: [Gambas-user] FMain_Focus() - DOES NOT WORK

2012-03-13 Thread abbat
Strange Now it works so: Public Sub Form_LostFocus() Me.Close End BUT ! If my form has NO controls. If I add one button to my form then Form_LostFocus() stops to work. :confused: abbat wrote: > > Public Sub Fmain_LostFocus() > Me.Close > End > > Does not work. > Or exa

Re: [Gambas-user] Prepared statements

2012-03-13 Thread Caveat
> With statements, you use a sign, and replace that with a type The sign in Gambas is the &1, &2, &3...which are replaced by the varying number of params after. OK, as far as I can tell it's not a true prepared statement in that there appears to be no way to reuse it with different params but it

Re: [Gambas-user] Prepared statements

2012-03-13 Thread Mathias Maes
That's not really a prepared statement. With statements, you use a sign, and replace that with a type. This is some java sample code: java.sql.PreparedStatement stmt = connection.prepareStatement( "SELECT * FROM users WHERE USERNAME = ? AND PASSWORD = ?"); stmt.setString(1, usernam

Re: [Gambas-user] Prepared statements

2012-03-13 Thread Caveat
You mean like this (not so long ago on this very mailing list...) > Caveat wrote: > > > > Here's some working code... > > > > conn = DataAccess.getConnection() > > conn.Exec("delete from UTI001 where CLEF = &1", "Caveat") > > conn.Exec("insert into UTI001 (CLEF, Langue, Backup) VALUES (&1,

[Gambas-user] FMain_Focus() - DOES NOT WORK

2012-03-13 Thread abbat
Public Sub Fmain_LostFocus() Me.Close End Does not work. Or examle is wrong? -- View this message in context: http://old.nabble.com/FMain_Focus%28%29---DOES-NOT-WORK-tp33492703p33492703.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] R: Prog.gambas only one process - RECTIUS !!!

2012-03-13 Thread abbat
Does not work. I guess because programm.gambas is not shown ib process list so we can not find what to "kill" Vuott wrote: > > Excuse me, a little problem at name of program (before it was strange > "aaa"): > I re-send the code: > > < > > Public Sub Form_Open() > > Dim inde

[Gambas-user] Prepared statements

2012-03-13 Thread Mathias Maes
Hello, Are there prepared statements in Gambas? It is so much safer to deal with a database with them! Thanks -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Micr

Re: [Gambas-user] Strange Keyboard Behavior

2012-03-13 Thread Emanuele Sottocorno
I have the same problem with my 12.04 box. The solution I found is to set the Editor font to "Ubuntu mono, 9" This way, unfortunately, the code on large display (high resolution) become really unreadable, very little! Any settings like Hinting, Antialiasing, different font, doesn't fix the proble