Re: [Gambas-user] Gambas3 Printing

2010-12-29 Thread Michael
Benoit, Have you managed to look at the GTK+ printer dialog problems? With further testing I set the orientation to "Landscape" in code and the paper was correctly oriented. IE The long edge was horizontal but the Paint.Width and Paint.Height did not change so the printing was truncated in width

Re: [Gambas-user] Gambas 3 advancement

2010-12-29 Thread Michael
I have done more experimentation with a date Valuebox. If "Expand" is set to false then no major problem but if the Valuebox is housed in a container which resizes it's children and "Expand" is set to True then the text is not visible. You can make it visible by having a large "Height" value and

Re: [Gambas-user] value of single variable always shows as 1E-315

2010-12-29 Thread Benoît Minisini
> Run the following code and then look in the "local variables" tab. > The integer and string values are correct but the value of e is > 1E-315. The same is true when you highlight the variable in the code > to see the current value. > > Dim i As Integer > Dim e As Single > Dim s As String > > i

Re: [Gambas-user] Porting Gambas 2 projects to Gambas 3

2010-12-29 Thread Benoît Minisini
> When going to this link I get "This documentation page does not exist in > version 2.0." > > Regards > Michael > Click on the "[3.0]" link on the top of the page to switch the documentation to "3.0" mode. Regards, -- Benoît Minisini

Re: [Gambas-user] Porting Gambas 2 projects to Gambas 3

2010-12-29 Thread Michael
When going to this link I get "This documentation page does not exist in version 2.0." Regards Michael On 25/12/10 01:07, Fabien Bodard wrote: > the good link is : http://gambasdoc.org/help/doc/gb2togb3 > > > -- Learn

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Fabien Bodard
no problem on mint 10 :-) for both version 2010/12/29 Dr. Martin Senftleben : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 29.12.2010 17:46, schrieb Matteo Pasotti: >> Il 29/12/2010 16:59, admhards...@yahoo.ca ha scritto: >>> Somebody have experience in gambaas with linux mint? >>> Tha

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Dr. Martin Senftleben
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 29.12.2010 17:46, schrieb Matteo Pasotti: > Il 29/12/2010 16:59, admhards...@yahoo.ca ha scritto: >> Somebody have experience in gambaas with linux mint? >> Thanks >> Tomas I have LinuxMint 10 and use this ppa: http://ppa.launchpad.net/ihaywood3/g

[Gambas-user] ProgressBar(gb.qt4)

2010-12-29 Thread math.e...@t-online.de
ProgressBar.Background works ok (but the colors are somewhat dark-grey). But ProgressBar.Foreground does nothing. The bar is always blue, and the label stays black/white. Shouldn't it be possible to change the color of the bar? Regards Matti --

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Ian Haywood
On Thu, Dec 30, 2010 at 3:46 AM, Matteo Pasotti wrote: > Il 29/12/2010 16:59, admhards...@yahoo.ca ha scritto: >> Somebody have experience in gambaas with linux mint? >> Thanks >> Tomas > As Werner said, the installation procedure is exactly the same of ubuntu. > Some time ago I've used the repo f

[Gambas-user] value of single variable always shows as 1E-315

2010-12-29 Thread Zach Smith
Run the following code and then look in the "local variables" tab. The integer and string values are correct but the value of e is 1E-315. The same is true when you highlight the variable in the code to see the current value. Dim i As Integer Dim e As Single Dim s As String i = 123 e = 1.23 s = "

Re: [Gambas-user] Bug in gb2 and gb3 in float

2010-12-29 Thread Jussi Lahtinen
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems http://en.wikipedia.org/wiki/Floating_point#Minimizing_the_effect_of_accuracy_problems Benoit, maybe you can add datatype 'decimal' in wish list? Jussi On Wed, Dec 29, 2010 at 20:09, Wellington de Souza Pinto < wspi...@click21.com.

Re: [Gambas-user] Bug in convetion values

2010-12-29 Thread Benoît Minisini
> Hi again! > > Create one new project and in u class type > > ' Gambas class file > PUBLIC vrDOCTO AS Single > > PUBLIC SUB Form_Open() > vrDOCTO = 0.1 > PRINT vrDOCTO > END > > > Run the program and in debug window show: > > 0,1000149 > > (teste:17087): GLib-GObject-WARNING **: ins

Re: [Gambas-user] Bug in gb2 and gb3 in float

2010-12-29 Thread Benoît Minisini
> > Hi! > > > > I sent isolate program to test the error. > > > > execute the program and follow this steps: > > > > 1 - Click in "Cheque" button > > > > Using the mouse click in "Valor Cheque" textbox > > type 2 and press tab key > > > > The Resta show 5123,56 > > > >

[Gambas-user] Bug in convetion values

2010-12-29 Thread Wellington de Souza Pinto
Hi again! Create one new project and in u class type ' Gambas class file PUBLIC vrDOCTO AS Single PUBLIC SUB Form_Open() vrDOCTO = 0.1 PRINT vrDOCTO END Run the program and in debug window show: 0,1000149 (teste:17087): GLib-GObject-WARNING **: instance with invalid (NULL) class poin

Re: [Gambas-user] Bug in gb2 and gb3 in float

2010-12-29 Thread Benoît Minisini
> Hi! > > I sent isolate program to test the error. > > execute the program and follow this steps: > > 1 - Click in "Cheque" button > Using the mouse click in "Valor Cheque" textbox > type 2 and press tab key > > The Resta show 5123,56 > > 2 - click in button "Lançar" > > 3

Re: [Gambas-user] Form_KeyPress not raised on Gtk

2010-12-29 Thread Benoît Minisini
> Tanks Benoît, > Yes it's better but only if there isn't others container in the form. > In the case ya have a container the event still does not raise. > Of course I can remove the Panel, but will be better if the component > behaves equally regardless the library used in the project. > See the a

Re: [Gambas-user] Did anyone have a script to record webcame picture in video files

2010-12-29 Thread Benoît Minisini
> OK Mr. Fabien.. I have a project for make a cctv monitoring system, then i > used webcam for simulation my project. When i tried to make program using > gambas3, the program has working but one button could not work.. that was > record button, files record can create but zero (0 bytes).. I need t

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Kevin Fishburne
On 12/29/2010 11:46 AM, Matteo Pasotti wrote: Il 29/12/2010 16:59, admhards...@yahoo.ca ha scritto: Somebody have experience in gambaas with linux mint? Thanks Tomas As Werner said, the installation procedure is exactly the same of ubuntu. Some time ago I've used the repo from madnessmike, but

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Matteo Pasotti
Il 29/12/2010 16:59, admhards...@yahoo.ca ha scritto: > Somebody have experience in gambaas with linux mint? > Thanks > Tomas As Werner said, the installation procedure is exactly the same of ubuntu. Some time ago I've used the repo from madnessmike, but if you need gambas3 the only way I know is

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread admhardsoft
Somebody have experience in gambaas with linux mint? Thanks Tomas Sent on the TELUS Mobility network with BlackBerry -Original Message- From: Werner Date: Wed, 29 Dec 2010 23:36:06 To: Reply-To: mailing list for gambas users Subject: Re: [Gambas-user] Linuxmint and gambas On 29/12/10

Re: [Gambas-user] Did anyone have a script to record webcame picture in video files

2010-12-29 Thread firman
OK Mr. Fabien.. I have a project for make a cctv monitoring system, then i used webcam for simulation my project. When i tried to make program using gambas3, the program has working but one button could not work.. that was record button, files record can create but zero (0 bytes).. I need to recor

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Werner
On 29/12/10 22:41, admhards...@yahoo.ca wrote: > Hi friends. > Can I install gambas2 y 3 for linux mint? > > Thanks > Tomas > You can propably proceed the same way as with Ubuntu. Regards Werner -- Learn how Oracle R

[Gambas-user] Linuxmint and gambas

2010-12-29 Thread admhardsoft
Hi friends. Can I install gambas2 y 3 for linux mint? Thanks Tomas Sent on the TELUS Mobility network with BlackBerry -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database

Re: [Gambas-user] Form_KeyPress not raised on Gtk

2010-12-29 Thread Emanuele Sottocorno
Tanks Benoît, Yes it's better but only if there isn't others container in the form. In the case ya have a container the event still does not raise. Of course I can remove the Panel, but will be better if the component behaves equally regardless the library used in the project. See the attached proj

[Gambas-user] time measure msec ?

2010-12-29 Thread wally
I have some general questions to the attached code. routine A works nice. why B gives a "bad formatstring" error ? Is there a possibility to make DateDiff return msec ? Since SVN 3410 my error balloon are shown too short to read them. How can i change this ? I there a pool for example contributi

Re: [Gambas-user] TextArea issues.

2010-12-29 Thread Demosthenes Koptsis
in my case it is like this... i have a text in clipboard. i press paste i press undo i press redo voila the bugsignal 11 or may be signal 6, i am not remeber for the second, but i think i saw it. sometimes i get the long message of memory i sent already but not always. On Wed, 2010-12-29 a

Re: [Gambas-user] Label.Adjust

2010-12-29 Thread Demosthenes Koptsis
sorry Benoit i send you wrong project here it is the corect, but it is not something special. the code is - PUBLIC SUB Form_Open() PRINT Label1.Height PRINT Label1.Width Label1.Text = " This is a long text, sghssgh fshsfg dfg fdg sad gfsda asdg sd" Label1.Adjust PRINT Label

Re: [Gambas-user] Label.Adjust

2010-12-29 Thread Benoît Minisini
> Of caurse Benoit, i did it in previous email but here it is again. > Sorry, but there is no call to the Adjust() method in that project... -- Benoît Minisini -- Learn how Oracle Real Application Clusters (RAC) One No

Re: [Gambas-user] Label.Adjust

2010-12-29 Thread Demosthenes Koptsis
Of caurse Benoit, i did it in previous email but here it is again. On Wed, 2010-12-29 at 10:07 +0100, Benoît Minisini wrote: > > On Tue, 2010-12-28 at 16:59 +0100, Benoît Minisini wrote: > > > > In wiki says > > > > > > > > Adjusts the Label dimensions to its contents. > > > > > > > > But in my

Re: [Gambas-user] Gambas 2 question

2010-12-29 Thread Benoît Minisini
> Am 07.12.2010 19:56, schrieb nando: > > Correct. > > > > > > -- Original Message --- > > From: Benoît Minisini > > To: nand...@nothingsimple.com, mailing list for gambas users > > > > Sent: Tue, 7 Dec 2010 18:52:03 +0100 > > Subject: Re: [Gambas-user] Gambas 2 question > > > >

Re: [Gambas-user] Label.Adjust

2010-12-29 Thread Benoît Minisini
> On Tue, 2010-12-28 at 16:59 +0100, Benoît Minisini wrote: > > > In wiki says > > > > > > Adjusts the Label dimensions to its contents. > > > > > > But in my tests only the height dimension is adjusted. > > > > > > The width dimension is not adjusted properly for a long text. > > > > Which GUI

Re: [Gambas-user] TextArea issues.

2010-12-29 Thread Benoît Minisini
> > Benoit here is the app. > > > > It is not something special it just implements the methods of a > > textarea. > > What should I do to reproduce the bug? OK, I got it. The bug should be fixed in revision #3408 for Gambas 2 and in revision #3409 for Gambas 3. Regards, -- Benoît Minisini -

Re: [Gambas-user] TextArea issues.

2010-12-29 Thread Benoît Minisini
> Benoit here is the app. > > It is not something special it just implements the methods of a > textarea. > What should I do to reproduce the bug? -- Benoît Minisini -- Learn how Oracle Real Application Clusters (RAC)

Re: [Gambas-user] TextArea issues.

2010-12-29 Thread Benoît Minisini
> > Note that undoing is not implemented by GTK+. I cannot do anything against > that! ...unless implementing it myself of course. -- Benoît Minisini -- Learn how Oracle Real Application Clusters (RAC) One Node allows

Re: [Gambas-user] TextArea issues.

2010-12-29 Thread Demosthenes Koptsis
Benoit here is the app. It is not something special it just implements the methods of a textarea. On Wed, 2010-12-29 at 09:26 +0100, Benoît Minisini wrote: > > I made an example app with a TextArea on Ubuntu 10.04. > > > > When i stopped use the app suddenly i got > > > > *** glibc detected *

Re: [Gambas-user] TextArea issues.

2010-12-29 Thread Benoît Minisini
> I made an example app with a TextArea on Ubuntu 10.04. > > When i stopped use the app suddenly i got > > *** glibc detected *** Project75: double free or corruption (!prev): > 0x012fa900 *** > WARNING: CTEXTAREA_undo not yet implemented > WARNING: CTEXTAREA_undo not yet implemented > WA

[Gambas-user] TextArea issues.

2010-12-29 Thread Demosthenes Koptsis
I made an example app with a TextArea on Ubuntu 10.04. When i stopped use the app suddenly i got *** glibc detected *** Project75: double free or corruption (!prev): 0x012fa900 *** WARNING: CTEXTAREA_undo not yet implemented WARNING: CTEXTAREA_undo not yet implemented WARNING: CTEXTAREA_r