Re: [Gambas-user] Release of Gambas 2.13.1

2009-05-26 Thread Rolf-Werner Eilert
Benoît Minisini schrieb: > Hi, > > This release fixes compilation problems with gcc 4.4, FreeBSD and older > versions of the GTK+ library. It makes simultaneaous asynchronous downloads > work correctly in the gb.net.curl component too. > Yep - compiled and installed flawlessly now. Big thanks

[Gambas-user] New feature in /trunk

2009-05-26 Thread Benoît Minisini
Hi, I just added a new feature in the development version: the Assign() function. It is like Eval(), except that the expression can be an assignment. It returns the assigned value. For example: Dim hCtrl As Control ' Any control Assign("a.Text = \"Hello\"", ["a": hCtrl]) will assign the "Hell

Re: [Gambas-user] WAIT ... is it an (un) necessary evil for my app?

2009-05-26 Thread M0E Lnx
I just tried this, and in theory this should work. But I think there is a problem here. The progressbar is a 4th generation child. (Host form -> Child form -> hbox -> progressbar) The code that installs the packages is in a module that's not related to the host form. The functions that trigger the

[Gambas-user] Release of Gambas 2.13.1

2009-05-26 Thread Benoît Minisini
Hi, This release fixes compilation problems with gcc 4.4, FreeBSD and older versions of the GTK+ library. It makes simultaneaous asynchronous downloads work correctly in the gb.net.curl component too. Here is the ChangeLog: --

Re: [Gambas-user] WAIT ... is it an (un) necessary evil for my app?

2009-05-26 Thread Daniel Campos
Don't wait, remove this part of the code: IF $hproc.value > 0 then RETURN $hproc.Value ELSE RETURN 0 END IF Then create an event handler for the "kill" event which is raised once the program is finished 2009/5/26 M0E Lnx > So, the next version of my vinstall-ng app is really shaping u

[Gambas-user] WAIT ... is it an (un) necessary evil for my app?

2009-05-26 Thread M0E Lnx
So, the next version of my vinstall-ng app is really shaping up nicely, but I'm running into a weird dilemma here. This is a linux installer, so there is a lot of decompression going on in the background as packages are being installed using via the gambas EXEC method. Here is the problem I'm hav

Re: [Gambas-user] TextArea scrolling

2009-05-26 Thread Benoît Minisini
> Thanks! > This solution works in my case: > TextArea1.Text &= "Something" & gb.NewLine > TextArea1.Pos = TextArea1.Length > TextArea1.EnsureVisible() > > > Jussi > Using TextArea1.Insert() is better and faster. Regards, -- Benoît --

Re: [Gambas-user] TextArea scrolling

2009-05-26 Thread Jussi Lahtinen
Thanks! This solution works in my case: TextArea1.Text &= "Something" & gb.NewLine TextArea1.Pos = TextArea1.Length TextArea1.EnsureVisible() Jussi 2009/5/25 Benoît Minisini : >> >> When adding line to textarea: >> >> TextArea1.Text &= "Something" & gb.NewLine >> >> Cursor jumps to column&line

Re: [Gambas-user] Animation in display

2009-05-26 Thread Jussi Lahtinen
Hi! Animated gif with moviebox works. Quickly thinking... Maybe you should do animated gif for each number, then just switch needed gif to right place in moviebox. When animation stops switch to non animated gif. Jussi On Tue, May 26, 2009 at 04:06, Heracles wrote: > -BEGIN PGP SIGNED MESS

Re: [Gambas-user] Smooth Scrolling (not happening)

2009-05-26 Thread M0E Lnx
I guess he meant sort of embedded. A quick and dirty way around this issue. An embedder on the host form that runs a separate gambas binary which is designed to scroll and scroll only. This is what I've done here for my application, but it's not exactly the way I'd rather do it.

Re: [Gambas-user] SEGFAULT with SHELL

2009-05-26 Thread Benoît Minisini
> I have 2 C-program's. > > lasercall.e run at background and call function in shared library > liblumax.so. > Calling from Gambas with > SHELL "/home/juelin/lasercall.e&" > > laserfunc.e calling from Gambas with > SHELL "/home/juelin/laserfunc.e 4 1" TO StringVar > > Then I got a segmentationfau

Re: [Gambas-user] SEGFAULT with SHELL

2009-05-26 Thread M0E Lnx
Maybe you need to call the compiler for thesel programs from gambas. Unless your programs are already compiled and you just run their binaries On May 26, 2009 4:02 AM, "juelin" wrote: I have 2 C-program's. lasercall.e run at background and call function in shared library liblumax.so. Calling

[Gambas-user] SEGFAULT with SHELL

2009-05-26 Thread juelin
I have 2 C-program's. lasercall.e run at background and call function in shared library liblumax.so. Calling from Gambas with SHELL "/home/juelin/lasercall.e&" laserfunc.e calling from Gambas with SHELL "/home/juelin/laserfunc.e 4 1" TO StringVar Then I got a segmentationfault signal and prog