Re: [Gambas-user] rotating point

2009-06-26 Thread Juergen Linder
hi Benoit, just a qustion. Can you explain what you mean with don't use Grab()? How copy I the Drawingarea into a Image? Kind regards Jürgen Original-Nachricht Datum: Thu, 25 Jun 2009 21:25:14 +0200 Von: Benoît Minisini gam...@users.sourceforge.net An: mailing list for

[Gambas-user] I create a new function to share

2009-06-26 Thread kobolds
I create a function call FormatX() for easy formatting number, date and string . read the cctools.html for detail on how to use it . post your opinion what you think about it http://www.nabble.com/file/p24216805/cctools.tar cctools.tar -- View this message in context:

Re: [Gambas-user] datasource filter

2009-06-26 Thread Juergen Linder
hi Benoit, I think there was a missunderstanding. What I mean: the instruction: image2 = image1.Rotate(45) rotating the image on the middle. But the middlepoint of image2 is not the middlepoint of image1. that is my problem. at 90° it was rigth. kind regards Jürgen -- viele Grüße e vy 73

Re: [Gambas-user] Feature request

2009-06-26 Thread Benoît Minisini
Hi, In relation to RPM creation in Gambas. Is there a way of adding other dependencies. Say for example I have a program that needs the program 'barcode' to run it would be good to manually add that requirement to the package when creating a package. Just a thought Steven This is

Re: [Gambas-user] rotating point

2009-06-26 Thread Benoît Minisini
hi Benoit, just a qustion. Can you explain what you mean with don't use Grab()? How copy I the Drawingarea into a Image? Kind regards Jürgen You can't. This is the reason why you must do your work inside a Picture. -- Benoît

Re: [Gambas-user] Format$ with different LANG

2009-06-26 Thread Benoît Minisini
Pino Zollo let me know that there is probably an error in /usr/share/i18n/locales/it_IT.utf8 --- LC_NUMERIC decimal_point U002C thousands_sep -- (empty string, not SPACE) grouping 0;0 END LC_NUMERIC -- I do

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
It doesn't work, the file is saved emty. Benoit, any idea? Regards -- David - Original Message From: Werner wd...@netfront.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Thursday, June 25, 2009 9:39:52 PM Subject: Re: [Gambas-user] Blob management

Re: [Gambas-user] The define style of many element string array

2009-06-26 Thread Jussi Lahtinen
I recommend to write your data to text file and read it from there to String[]. http://gambasdoc.org/help/lang/open Jussi On Fri, Jun 26, 2009 at 06:43, Simonart Dominiquesimonart.domini...@wanadoo.fr wrote: Steven James Drinnan a écrit : As far as I know just one by one. Write one line by

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Pino Zollo ha scritto: Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: I create a function call FormatX() for easy formatting number, date and string . read the cctools.html for detail on how to use it . post your opinion what you think about it

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
Pino Zollo ha scritto: Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: I create a function call FormatX() for easy formatting number, date and string . read the cctools.html for detail on how to use it . post your opinion what you think about it

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
I do this: DIM hResultado AS Result DIM sImagen AS String IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas hResultado = $hConn.Exec(SELECT * FROM `Imagenes`) sImagen = hResultado[Imagen].Data --- Fails here Not an object File.Save(/tmp/mas/1.jpg, sImagen) and DIM

Re: [Gambas-user] Blob management

2009-06-26 Thread Ron
David Villalobos Cambronero wrote: I do this: DIM hResultado AS Result DIM sImagen AS String IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas hResultado = $hConn.Exec(SELECT * FROM `Imagenes`) sImagen = hResultado[Imagen].Data --- Fails here Not an object

Re: [Gambas-user] Blob management

2009-06-26 Thread Benoît Minisini
I do this: DIM hResultado AS Result DIM sImagen AS String IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas hResultado = $hConn.Exec(SELECT * FROM `Imagenes`) sImagen = hResultado[Imagen].Data --- Fails here Not an object Well, that means that hResultado[Imagen]

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread kobolds
Pino Zollo wrote: Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: I create a function call FormatX() for easy formatting number, date and string . read the cctools.html for detail on how to use it . post your opinion what you think about it

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
Hi, first of all thanks to Benoit, Ron and Wener for help me. Just to be clear if someone reads this in the future, these statementst are correct: DIM hResultado AS Result IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas hResultado = $hConn.Exec(SELECT * FROM `Imagenes`)

Re: [Gambas-user] Blob management

2009-06-26 Thread Benoît Minisini
Hi, first of all thanks to Benoit, Ron and Wener for help me. Just to be clear if someone reads this in the future, these statementst are correct: DIM hResultado AS Result IF NOT Exist(/tmp/mas) THEN MKDIR /tmp/mas hResultado = $hConn.Exec(SELECT * FROM `Imagenes`)

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
Form MySQL 5.1 Manual, page 603: - Data Type - - Storage Required - BLOB, TEXT L+2 bytes, where L 2^16 MEDIUMBLOB, MEDIUMTEXT L+3 bytes, where L 2^24 LONGBLOB, LONGTEXT L+4 bytes, where L 2^32 I just need 2^24

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Pino Zollo
Il venerdì 26 giugno 2009 11:34:04 kobolds ha scritto: for example you need to write program to export data to text file in fix size in following format. 1. item_no      type:integer    size = 10 character , leading zero 2. item name   type:string      size = 20 character, trailing space 3.

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Benoît Minisini ha scritto: Changed file /usr/share/i18n/locales/it_IT so the section: LC_NUMERIC decimal_point U002C thousands_sep empty string grouping 0;0 END LC_NUMERIC results in: LC_NUMERIC

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
Benoît Minisini ha scritto: Changed file /usr/share/i18n/locales/it_IT so the section: LC_NUMERIC decimal_point U002C thousands_sep empty string grouping 0;0 END LC_NUMERIC results in:

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: I create a function call FormatX() for easy formatting number, date and string . read the cctools.html for detail on how to use it . post your opinion what you think about it http://www.nabble.com/file/p24216805/cctools.tar

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Benoît Minisini ha scritto: Benoît Minisini ha scritto: Changed file /usr/share/i18n/locales/it_IT so the section: LC_NUMERIC decimal_point U002C thousands_sep empty string grouping 0;0 END LC_NUMERIC

[Gambas-user] How do you set text for a group of textbox ?

2009-06-26 Thread Swee Kwang Tan
Dear Sir, If I have a group of textbox, a string array access data from database, How do I write a program to set text for each textbox sepqrately ? like the following dim str[10] as string dim i as integer . .  'after this line, str get the data from database for i = 0 to 9    

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
Benoît Minisini ha scritto: Benoît Minisini ha scritto: Changed file /usr/share/i18n/locales/it_IT so the section: LC_NUMERIC decimal_point U002C thousands_sep empty string grouping 0;0 END LC_NUMERIC