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 tests only the

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

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

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

[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

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

[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] 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 Real

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] 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 to

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

[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

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

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 **: instance with

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

[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] Linuxmint and gambas

2010-12-29 Thread Ian Haywood
On Thu, Dec 30, 2010 at 3:46 AM, Matteo Pasotti matteo.paso...@gmail.com 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

[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 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:

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 li...@drmartinus.de: -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

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 how

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] 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 = 123 e =

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 you

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