Re: [Gambas-user] ?screenshot property of control gone missing

2011-03-28 Thread richard terry
On Tuesday 29 March 2011 15:53:59 Fabien Bodard wrote: > 2011/3/29 richard terry : > > Hi Benoit, > > > > The ability of capture a screen shot of a control seems to have gone ?? I > > use this in a number of places in my program. > > > > Regards > > > > Richard > > grab too ? ?documentation for t

Re: [Gambas-user] ?screenshot property of control gone missing

2011-03-28 Thread Fabien Bodard
2011/3/29 richard terry : > Hi Benoit, > > The ability of capture a screen shot of a control seems to have gone ?? I use > this in a number of places in my program. > > Regards > > Richard grab too ? > > -- > Enable your so

Re: [Gambas-user] Global menu doesn't work with global-menu plasmoid in KDE

2011-03-28 Thread Leandro Santiago
kde5? kde4.x, I'd like to say :-) 2011/3/29 Leandro Santiago : > Hello to all. > > I use kde5.x with the global menu plasmoid (like mac os x), but, > although it's compatible with all qt4 applications I use, it doesn't > work with gambas3 IDE. There's no difference between when the menu bar > is s

[Gambas-user] Global menu doesn't work with global-menu plasmoid in KDE

2011-03-28 Thread Leandro Santiago
Hello to all. I use kde5.x with the global menu plasmoid (like mac os x), but, although it's compatible with all qt4 applications I use, it doesn't work with gambas3 IDE. There's no difference between when the menu bar is set do hide (the only difference is a line between title bar and toolbar in

[Gambas-user] ?screenshot property of control gone missing

2011-03-28 Thread richard terry
Hi Benoit, The ability of capture a screen shot of a control seems to have gone ?? I use this in a number of places in my program. Regards Richard -- Enable your software for Intel(R) Active Management Technology to me

[Gambas-user] how to flush a process stream

2011-03-28 Thread Kevin Fishburne
I'm reading input from a gamepad by using code such as: pad_device = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad" Public Sub Gamepad_READ() ' Process the gamepad input. End The problem is that analog stick movements create a LOT of read events which are generated far faster than the

Re: [Gambas-user] the math behind full screen rotation

2011-03-28 Thread Kevin Fishburne
On 03/27/2011 03:22 PM, Kevin Fishburne wrote: > On 03/26/2011 03:49 AM, Doriano Blengino wrote: >> Il 26/03/2011 04:08, Kevin Fishburne ha scritto: >>> On 03/24/2011 12:05 AM, John Spikowski wrote: >>> On Wed, 2011-03-23 at 23:03 -0400, Kevin Fishburne wrote: > That will probabl

Re: [Gambas-user] Gambas RC1 - Problem

2011-03-28 Thread Benoît Minisini
> Benoit, > > I checked the ToolBar in revision #3694 and now the orientation of the > toolbar is ok, same with the position of the ToolButton inside but the > width of the toolbar is not respected and all buttons are not displayed > completely. > > > Olivier Cruilles > Mail: linu...@club-intern

Re: [Gambas-user] ScrollArea (gb3)

2011-03-28 Thread Benoît Minisini
> When you define a custom cursor for a ScrollArea, this cursor is also > applied to the ScrollBars. Looks strange. > > I think, the ScrollBars should keep the standard cursor, and the custom > cursor should show only inside the client window of ScrollArea. It is done > correctly with ScrollView.

Re: [Gambas-user] Gambas3 RC1 Bind conversion

2011-03-28 Thread Benoît Minisini
> Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3 > It looks like Bind(0) calls should be converted by the IDE, but it > doesn't seem to be implemented. > > No Bind related code in app/src/gambas3/.src/Project/MConvert.module > > Regards, > Ron_2nd. > Implemented in revisi

[Gambas-user] ScrollArea (gb3)

2011-03-28 Thread Matti
When you define a custom cursor for a ScrollArea, this cursor is also applied to the ScrollBars. Looks strange. I think, the ScrollBars should keep the standard cursor, and the custom cursor should show only inside the client window of ScrollArea. It is done correctly with ScrollView. Regards Mat

[Gambas-user] Pointer to Datatypes

2011-03-28 Thread tobias
good evening all, i've been having some trouble for a time with pointers in gambas 2. i mainly wrote programs in c the last year but now i mainly deal with gambas again because my class mates want some gui in the programs at school... it would be the greatest thing if i can pass some pointers t

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Benoît Minisini
> It still runs without errors, so seems fixed to, otherwise it stopped > after a few minutes. > > I wonder where those interrupted systems calls referred too btw. > Are those processes stopped or pipes closed, are they normal? > > Thanks! > Interrupted system calls are a Unix thing that I don'

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
It still runs without errors, so seems fixed to, otherwise it stopped after a few minutes. I wonder where those interrupted systems calls referred too btw. Are those processes stopped or pipes closed, are they normal? Thanks! 2011/3/28 Benoît Minisini : >> >> Disabled the SqueezeServer module a

[Gambas-user] Gambas3 RC1 Bind conversion

2011-03-28 Thread Ron
Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3 It looks like Bind(0) calls should be converted by the IDE, but it doesn't seem to be implemented. No Bind related code in app/src/gambas3/.src/Project/MConvert.module Regards, Ron_2nd.

Re: [Gambas-user] Gambas 3 RC1 CSng project conversion bug

2011-03-28 Thread Ron
On 28-3-2011 16:55, Benoît Minisini wrote: >> Testing RC1 with code revision 3693 >> >> Converting a project to Gambas3 doesn't work 100% correct. >> >> It seems '+ CSingle' becomes 'CSingleSng' >> >> If (RecBuf[6] And&H8) = 0 Then >> ' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) +

Re: [Gambas-user] Gambas 3 RC1 CLng not converted

2011-03-28 Thread Ron
On 28-3-2011 16:55, Benoît Minisini wrote: >> CLng's are not converted to CLong. >> >> lCt4 = Lsl(CLng(RecBuf[10]), 36) >> >> I remember I reported this earlier, and was fixed? >> >> Regards, >> Ron_2nd. >> > Can you try the latest revision? > Yes this is fixed. Thanks. -

Re: [Gambas-user] Gambas 3 RC1 CSng project conversion bug

2011-03-28 Thread Benoît Minisini
> Testing RC1 with code revision 3693 > > Converting a project to Gambas3 doesn't work 100% correct. > > It seems '+ CSingle' becomes 'CSingleSng' > >If (RecBuf[6] And &H8) = 0 Then > ' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) + > CSng(Hex(Lsr(RecBuf[4], 4))) / 10 > s

Re: [Gambas-user] Gambas 3 RC1 CLng not converted

2011-03-28 Thread Benoît Minisini
> CLng's are not converted to CLong. > > lCt4 = Lsl(CLng(RecBuf[10]), 36) > > I remember I reported this earlier, and was fixed? > > Regards, > Ron_2nd. > Can you try the latest revision? -- Benoît Minisini --

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Benoît Minisini
> > Disabled the SqueezeServer module above, and let it run, got this one: > > ** INTERNAL ERROR ** > ** Cannot read from SIGCHLD pipe: Interrupted system call > Main.Setup_TemperaturNu.3277: #13: Null object > 0: Main.Setup_TemperaturNu.3277 > 1: RRDTool.UpdateRRDs.269 > 2: ServerStats.tServerSt

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
On 28-3-2011 15:32, Ron wrote: > On 28-3-2011 15:14, Benoît Minisini wrote: >>> On 28-3-2011 14:24, Benoît Minisini wrote: > Hmmm, another one in a different part of my project: > > ** INTERNAL ERROR ** > ** Cannot read from SIGCHLD pipe > CSqueezeServer.ReceiveData.204: #39: En

[Gambas-user] HttpClient question

2011-03-28 Thread Ron
It seems that if you call HttpClient twice after each other with different urls in async mode, like in example below the _finished event is only called once (with the last call/url) So they are not really async/background, or is this a bug? Or are they overwritten, due to false usage/code? This

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
On 28-3-2011 15:14, Benoît Minisini wrote: >> On 28-3-2011 14:24, Benoît Minisini wrote: Hmmm, another one in a different part of my project: ** INTERNAL ERROR ** ** Cannot read from SIGCHLD pipe CSqueezeServer.ReceiveData.204: #39: End of file 0: CSqueezeServer.Receiv

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Benoît Minisini
> On 28-3-2011 14:24, Benoît Minisini wrote: > >> Hmmm, another one in a different part of my project: > >> > >> ** INTERNAL ERROR ** > >> ** Cannot read from SIGCHLD pipe > >> CSqueezeServer.ReceiveData.204: #39: End of file > >> 0: CSqueezeServer.ReceiveData.204 > >> 1: RRDTool.GetRRDPath.60 > >

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
On 28-3-2011 14:24, Benoît Minisini wrote: >> Hmmm, another one in a different part of my project: >> >> ** INTERNAL ERROR ** >> ** Cannot read from SIGCHLD pipe >> CSqueezeServer.ReceiveData.204: #39: End of file >> 0: CSqueezeServer.ReceiveData.204 >> 1: RRDTool.GetRRDPath.60 >> 2: RRDTool.Update

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Benoît Minisini
> Hmmm, another one in a different part of my project: > > ** INTERNAL ERROR ** > ** Cannot read from SIGCHLD pipe > CSqueezeServer.ReceiveData.204: #39: End of file > 0: CSqueezeServer.ReceiveData.204 > 1: RRDTool.GetRRDPath.60 > 2: RRDTool.UpdateRRDs.269 > 3: ServerStats.tServerStats_Timer.40 >

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
Hmmm, another one in a different part of my project: ** INTERNAL ERROR ** ** Cannot read from SIGCHLD pipe CSqueezeServer.ReceiveData.204: #39: End of file 0: CSqueezeServer.ReceiveData.204 1: RRDTool.GetRRDPath.60 2: RRDTool.UpdateRRDs.269 3: ServerStats.tServerStats_Timer.40 ** Program aborting.

Re: [Gambas-user] Gambas RC1 - Problem

2011-03-28 Thread Olivier Cruilles
Benoit, I checked the ToolBar in revision #3694 and now the orientation of the toolbar is ok, same with the position of the ToolButton inside but the width of the toolbar is not respected and all buttons are not displayed completely. Olivier Cruilles Mail: linu...@club-internet.fr Le 28 mars

[Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
Project runs ok, but every now and then I get this: ** INTERNAL ERROR ** ** Cannot read from SIGCHLD pipe Main.BroadcastEvent.4731: #5: Too many arguments 0: Main.BroadcastEvent.4731 1: Main.RefreshDeviceList.4848 2: Devices.ValueUpdate.823 3: Main.SetGlobalVar.4447 4: RRDTool.GetRRDPath.60 5: RRD

[Gambas-user] Gambas 3 RC1 CLng not converted

2011-03-28 Thread Ron
CLng's are not converted to CLong. lCt4 = Lsl(CLng(RecBuf[10]), 36) I remember I reported this earlier, and was fixed? Regards, Ron_2nd. -- Enable your software for Intel(R) Active Management Technology to meet th

[Gambas-user] Gambas 3 RC1 CSng project conversion bug

2011-03-28 Thread Ron
Testing RC1 with code revision 3693 Converting a project to Gambas3 doesn't work 100% correct. It seems '+ CSingle' becomes 'CSingleSng' If (RecBuf[6] And &H8) = 0 Then ' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) + CSng(Hex(Lsr(RecBuf[4], 4))) / 10 sCelsius = CSingle(H