Re: [Gambas-user] It looks like a bug, it walks like a bug...

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > so send me the complete form ! ... i can't debug it without > > send it directly to me I sent it to the email address in your reply. gambas.fr @ gmail.com Thanks for taking the time. -- Let Cryst

Re: [Gambas-user] PING > Benoit - GUI ProgrammingProductivityFeature Request

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > so i'll add a todo note :)... i've suggested already this idea there > is more than 2 year.. maybe it can be I think it is such an important productivity improvement that I'm willing to invest my time fixing up the Gambas online help text in return :) ---

Re: [Gambas-user] db retrieve

2009-11-26 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : ... > > You can access result fields by index too: > > resQry[0], reqQry[1], ... Haaa this sounds very good too :) -- Bringing your mate to a convention is like taking a game warden hunting.

Re: [Gambas-user] db retrieve

2009-11-26 Thread Benoît Minisini
> Hi, > > How can I retrieve a "field" returned by a stored procedure? > > SP: > CREATE OR REPLACE FUNCTION common.testbytea_sel(Pid OID) RETURNS TEXT AS $$ > DECLARE > MyPic BYTEA; > MyStringTEXT; > BEGIN > SELECT pic INTO MyPic FROM common.testbytea WHE

Re: [Gambas-user] PING > Benoit - GUI Programming ProductivityFeature Request

2009-11-26 Thread Fabien Bodard
so i'll add a todo note :)... i've suggested already this idea there is more than 2 year.. maybe it can be 2009/11/26 : > Fabien Bodard wrote: >> shift F2 to go to the previous position >> >> F2 to get the function code or help about the function > > I know about that feature, which is not bookma

Re: [Gambas-user] PING > Benoit - GUI Programming ProductivityFeature Request

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > shift F2 to go to the previous position > > F2 to get the function code or help about the function I know about that feature, which is not bookmarks, nor even a facsimile of bookmarks. The go back function is very limited and highly unproductive. > I don't know were it is

Re: [Gambas-user] It looks like a bug, it walks like a bug...

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > so send me the complete form ! ... i can't debug it without > > send it directly to me Ok, I'll have to package it up over the weekend, Fabien. There is an awful lot of code to take out before I send it. > 2009/11/26 : >> Fabien Bodard wrote: >>> Please don't forget some

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > i forget : > > ...or the latest current version being developed > > You need the svn client. > $ mkdir trunk > $ svn checkout > https://gambas.svn.sourceforge.net/svnroot/[../../def/gambas]/gambas/trunk > $ cd trunk Thank you. I owe you a beer. I'll drink it for you tonight

Re: [Gambas-user] pb loading an picture into a string

2009-11-26 Thread Fabien Bodard
ok this is a new test ... so your Base64 converting function is good... and more simple than taking the xml one... so the problem come from psql ... what is the charset of your database ? 2009/11/26 Jean-Yves F. Barbier <12u...@gmail.com>: > Charlie Reinl a écrit : > ... > Thanks Charlie, I'll

Re: [Gambas-user] db retrieve

2009-11-26 Thread Fabien Bodard
dim hField as ResultField For each hField in resQry.Fields Print hField.Name Next 2009/11/26 Jean-Yves F. Barbier <12u...@gmail.com>: > Hi, > > How can I retrieve a "field" returned by a stored procedure? > > SP: > CREATE OR REPLACE FUNCTION common.testbytea_sel(Pid OID) RETURNS TEXT AS

[Gambas-user] db retrieve

2009-11-26 Thread Jean-Yves F. Barbier
Hi, How can I retrieve a "field" returned by a stored procedure? SP: CREATE OR REPLACE FUNCTION common.testbytea_sel(Pid OID) RETURNS TEXT AS $$ DECLARE MyPic BYTEA; MyStringTEXT; BEGIN SELECT pic INTO MyPic FROM common.testbytea WHERE id = Pid;

Re: [Gambas-user] pb loading an picture into a string

2009-11-26 Thread Jean-Yves F. Barbier
Charlie Reinl a écrit : ... Thanks Charlie, I'll try it. -- The world really isn't any worse. It's just that the news coverage is so much better. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 3

Re: [Gambas-user] Another question about Gambas on ARM

2009-11-26 Thread Matteo Lisi
I tried to execute the "make install" on the arm target (I copied the directory from x86 platform) but this action return an error.. The make didnt found the gcc compiler ... but it's necessary for the make install to have the gcc compiler on ARM target ? if I move the gbi2 gbx2 eccc. ecc. in

Re: [Gambas-user] pb loading an picture into a string

2009-11-26 Thread Charlie Reinl
Am Donnerstag, den 26.11.2009, 14:32 +0100 schrieb Jean-Yves F. Barbier: > Doriano Blengino a écrit : > ... > > Of that I'm aware Doriano, THE PB is I need each and every byte of the picture > in order to cast it to a Base64 to send it to postgresql. > Or just escape some chars, or whatever proces

Re: [Gambas-user] Another question about Gambas on ARM

2009-11-26 Thread José Luis Redrejo Rodríguez
2009/11/26 Benoît Minisini > > Hi ! > > > > I'm still engaged on Gambas in ARM... > > > > This is my situation: > > > > I download the gambas source and I want to compile gambas for ARM 9 > target. > > > > Usually I use a x86 linux machine for crosscompile my program. > > The crosscompile that I

Re: [Gambas-user] RAD PB

2009-11-26 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : > Hi, > > I've got something strange: when I try to move my cursor with > the mouse pointer it selects text between the current cursor > place and the place I selected (even after a restart of gambas RAD) It has gone (?), sorry for the noise -- --

Re: [Gambas-user] Another question about Gambas on ARM

2009-11-26 Thread Benoît Minisini
> Hi ! > > I'm still engaged on Gambas in ARM... > > This is my situation: > > I download the gambas source and I want to compile gambas for ARM 9 target. > > Usually I use a x86 linux machine for crosscompile my program. > The crosscompile that I use is "arm-none-linux-gnuabi" . > > I configu

[Gambas-user] RAD PB

2009-11-26 Thread Jean-Yves F. Barbier
Hi, I've got something strange: when I try to move my cursor with the mouse pointer it selects text between the current cursor place and the place I selected (even after a restart of gambas RAD) -- small, adj.: Is it in yet? --

Re: [Gambas-user] Another question about Gambas on ARM

2009-11-26 Thread Rob
On Thursday 26 November 2009 08:40 am, Matteo Lisi wrote: > If what I said is correct how I can do for port gambas on ARM ? > Is correct to crosscompile the gcc compile for ARM and then made > "./configure make make install" > on the ARM platform ? Someone else suggested looking at the Debian ARM

Re: [Gambas-user] rpmbuild and install package

2009-11-26 Thread D. L. Fox
Thanks for the info, Doriano. That's good to know if I ever need to develop something for Slackware. Toni, it's not a big deal and I appreciate the help. I'm just playing around right now getting familiar with the IDE, and so forth. It's been awhile since I've programmed in Basic. Toni Rosa wr

Re: [Gambas-user] pb loading an picture into a string

2009-11-26 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : ... Ok, I found what was wrong: as there is no conversion between a string and a picture, I must write the string to a file and read it as a picture, the string was written as of WRITE #INstream, OUTstring, String.Len(OUTstring) instead of: WRITE #INstre

[Gambas-user] Another question about Gambas on ARM

2009-11-26 Thread Matteo Lisi
Hi ! I'm still engaged on Gambas in ARM... This is my situation: I download the gambas source and I want to compile gambas for ARM 9 target. Usually I use a x86 linux machine for crosscompile my program. The crosscompile that I use is "arm-none-linux-gnuabi" . I configure the packet with this

Re: [Gambas-user] pb loading an picture into a string

2009-11-26 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : ... Of that I'm aware Doriano, THE PB is I need each and every byte of the picture in order to cast it to a Base64 to send it to postgresql. Or just escape some chars, or whatever processing function I'll further need; because I know there are base64 functions in gb.xml

Re: [Gambas-user] PING > Benoit - GUI Programming Productivity Feature Request

2009-11-26 Thread Fabien Bodard
shift F2 to go to the previous position F2 to get the function code or help about the function I don't know were it is documented lol 2009/11/23 : > Benoit, > > The Gambas programming environment would offer a major productivity boost to > developers if code Bookmarks were supported in the text

Re: [Gambas-user] pb loading an picture into a string

2009-11-26 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Hi, > > Here is a (very big) PB: > > ... > ' Get picture /path/name.ext > INfile = FileChooser1.SelectedPath > > FileSize = Stat(FileChooser1.SelectedPath).Size > > ' Read file into a string > INstream = OPEN INfile FOR INPUT > ' READ #INstream,

Re: [Gambas-user] It looks like a bug, it walks like a bug...

2009-11-26 Thread Fabien Bodard
so send me the complete form ! ... i can't debug it without send it directly to me 2009/11/26 : > Fabien Bodard wrote: >> Please don't forget some informations ... the gambas version, the >> component gb.gui(gnome/kde?), gb.gtk, gb.qt, gb.qt4 ? > > [QUOTE] > gambas (2.17) > [/QUOTE] > > [QUOTE]

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-26 Thread Fabien Bodard
http://gambasdoc.org/help/install/ubuntu and be carefull this is an early alpha version... but stable as gb2 as the bug correction are making both in the stable and the development version another thing ... as gambas 3 doing some change on the gb2 project tree, make a copy of the project befor o

Re: [Gambas-user] Frame where the first item is not Enabled - focus problem

2009-11-26 Thread Fabien Bodard
gambas manage the tab order with the zorder of childs... but the problem seem to be that gambas give focus to desabled controls... it's no a good behaviour. 2009/11/25 bbb888 : > > > > bbb888 wrote: >> >> In this form I have >> - several misc controls >> - a textarea >> - a frame (with several ch

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > 2009/11/26 Ricardo Díaz Martín : >> Me too. It's no possible to change this behaviour? Please do not >> change it only in gambas3, there are lot of people developing in >> gambas2 yet. > > yes but gambas2 is not going to live for a long time as qt3 begin to > became obsolete

Re: [Gambas-user] Gambas script execution

2009-11-26 Thread Fabien Bodard
in fact when i've wrotted the gbs ... i've use gb2 calsortkey function and all the CComponent class from the ide to manage automatiquely the components dépendence.. this way when you call : USE gb.qt.ext internally it call gb.qt too... but the function of Benoit have a bug i've detected there

[Gambas-user] pb loading an picture into a string

2009-11-26 Thread Jean-Yves F. Barbier
Hi, Here is a (very big) PB: ... ' Get picture /path/name.ext INfile = FileChooser1.SelectedPath FileSize = Stat(FileChooser1.SelectedPath).Size ' Read file into a string INstream = OPEN INfile FOR INPUT ' READ #INstream, INstring, Lof(INstream) ' NA: Returns 238 bytes RE

Re: [Gambas-user] Gambas script execution

2009-11-26 Thread Fabien Bodard
the true syntax for the magic call is : /usr/bin/env gbs2 this way the gbs2 true path is alway good 2009/11/24 Matteo Lisi : > > Could the problem be some other typing error? > >   Perhaps ! A dog ate my hands and I'm typing with two little wood rod... >   I tried to replace the return line

Re: [Gambas-user] It looks like a bug, it walks like a bug...

2009-11-26 Thread nospam.nospam.nospam
Fabien Bodard wrote: > Please don't forget some informations ... the gambas version, the > component gb.gui(gnome/kde?), gb.gtk, gb.qt, gb.qt4 ? [QUOTE] gambas (2.17) [/QUOTE] [QUOTE] GTK [/QUOTE] > and yes this is a true bug !.. > > can you send us a little project that show this ? [QUOTE] The

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-26 Thread Fabien Bodard
2009/11/26 Ricardo Díaz Martín : > Me too. It's no possible to change this behaviour? Please do not change it > only in gambas3, there are lot of people developing in gambas2 yet. yes but gambas2 is not going to live for a long time as qt3 begin to became obsolete and this kind of change can make

Re: [Gambas-user] It looks like a bug, it walks like a bug...

2009-11-26 Thread Fabien Bodard
Please don't forget some informations ... the gambas version, the component gb.gui(gnome/kde?), gb.gtk, gb.qt, gb.qt4 ? and yes this is a true bug !.. can you send us a little project that show this ? 2009/11/26 : > Now what on this planet would cause the behaviour shown in these three > image

Re: [Gambas-user] rpmbuild and install package

2009-11-26 Thread Toni Rosa
After reading some Slackware pkgtool docs (specifically where it says "pkgtools are unstable with tar > 1.13"), no doubt Doriano is right about the need of tar-1.13, or at least the need of giving the generated package a try... so the check wasn't that silly, after all :) Sorry about misleading you

Re: [Gambas-user] Pesky Minimize Button on TitleBar

2009-11-26 Thread Ricardo Díaz Martín
Me too. It's no possible to change this behaviour? Please do not change it only in gambas3, there are lot of people developing in gambas2 yet. 2009/11/26 Fabien Bodard > in fact it is a definition choice ... not resizable form in gambas > have a minimalize button ... i'm agree with you... we wi