[Gambas-user] Integer Bug

2008-12-11 Thread L Jumadi
I found integer bug in gambas. Please try ?54*4100 in gambas console. The result is negative, maybe because 4100 is converted to integer rather than long integer. I can solve it by use manual converting to ?54*clng(4100) but I think it should converted automatically by interpreter, isn'

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread Dominique SIMONART
M0E Lnx a écrit : > I just can't seem to completely wrap my mind around this one. > > It really doesn't matter if i return to the same state or not... as > long as I return there. > > it gets complicated when for instance, you go in a sequence from 1, 2, > 3 then you back up to 2... change somethin

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread M0E Lnx
I just can't seem to completely wrap my mind around this one. It really doesn't matter if i return to the same state or not... as long as I return there. it gets complicated when for instance, you go in a sequence from 1, 2, 3 then you back up to 2... change something in 2 that now makes you skip

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread Simonart Dominique
M0E Lnx a écrit : > Exactly. > > The forward navigation depends on the user input, so it could jump > from Form1 to Form3 and then to Form2 ans do on... > > So if we leave a footprint in the array, I think it *should* be easy > to reverse the process indeed sort of like an "undo" process. > > Bu

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread M0E Lnx
Can you try to work a sample?? On Thu, Dec 11, 2008 at 3:04 PM, nando wrote: > To go back, you have to 'undo' all the things needed to properly go forward. > So, in form5 (ie step5) you would have code to run to 'undo' what you did to > get to step6...so when step6 has to go back, you'll run step

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread nando
To go back, you have to 'undo' all the things needed to properly go forward. So, in form5 (ie step5) you would have code to run to 'undo' what you did to get to step6...so when step6 has to go back, you'll run step5's 'undo' code. something psuedo like... IF 'BACK' was clicked THEN hide form (th

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread M0E Lnx
Exactly. The forward navigation depends on the user input, so it could jump from Form1 to Form3 and then to Form2 ans do on... So if we leave a footprint in the array, I think it *should* be easy to reverse the process indeed sort of like an "undo" process. But I'm not sure exactly what the best

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread Simonart Dominique
M0E Lnx a écrit : > I have to say, the array idea makes more sense to me, simply because > otherwise, it'll be hard to tell the next and back buttons which sub > to run. > > I have tried an array, but object array rather than string array. > > The idea is that every form that gets opened leaves a

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread M0E Lnx
I have to say, the array idea makes more sense to me, simply because otherwise, it'll be hard to tell the next and back buttons which sub to run. I have tried an array, but object array rather than string array. The idea is that every form that gets opened leaves a footprint in this object array

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-11 Thread nando
Perhaps the following ideas... Every step in the wizard has an associated form for whatever it does for that step. Every form has a SUB for 'backwards' and 'forwards so that when NEXT is clicked, the forwards code runs, which is whatever is required for moving to the next form (ie: perform work, v

Re: [Gambas-user] Small window without gadgets

2008-12-11 Thread Lars Hoeger
Toni schrieb: > Hi, > Thanks for the information Rolf. Regarding whether it's possible to > control "balloon" pointing upwoards or downwards, sorry but I don't > know either... Besides, I will give a try to Joshua's approach, too! > Regards, > Toni > > En/na Rolf-Werner Eilert ha escrit: > >

[Gambas-user] Hex string to float

2008-12-11 Thread Ron
Hi, Anyone have a routine to convert a hex string to a float? Like these: B6FBEB3A = -0.07507766895287204 3C5D2104 = 0.01349664106965065 Find lots of vb code, but those use copymem functions. Thanks in advance! Regards, Ron_2nd -

Re: [Gambas-user] Hiding FMain not possible?

2008-12-11 Thread Rolf-Werner Eilert
Benoit Minisini schrieb: > On jeudi 11 décembre 2008, Benoit Minisini wrote: >> I will post a fix so that when the Visible property of the form is set to >> FALSE, the form is not shown at startup, but loaded. So the workaround >> above will not be needed anymore! >> >> Regards, > > Fix committed

Re: [Gambas-user] Hiding FMain not possible?

2008-12-11 Thread Stefano Palmeri
Il giovedì 11 dicembre 2008 11:34:18 Benoit Minisini ha scritto: > On jeudi 11 décembre 2008, Benoit Minisini wrote: > > I will post a fix so that when the Visible property of the form is set to > > FALSE, the form is not shown at startup, but loaded. So the workaround > > above will not be needed

Re: [Gambas-user] Hiding FMain not possible?

2008-12-11 Thread Benoit Minisini
On jeudi 11 décembre 2008, Benoit Minisini wrote: > > I will post a fix so that when the Visible property of the form is set to > FALSE, the form is not shown at startup, but loaded. So the workaround > above will not be needed anymore! > > Regards, Fix committed in revision #1735. Regards, --

Re: [Gambas-user] Hiding FMain not possible?

2008-12-11 Thread Benoit Minisini
On jeudi 11 décembre 2008, Stefano Palmeri wrote: > Il mercoledì 10 dicembre 2008 19:34:44 Benoit Minisini ha scritto: > > On mercredi 10 décembre 2008, Stefano Palmeri wrote: > > > Il mercoledì 10 dicembre 2008 15:50:15 Rolf-Werner Eilert ha scritto: > > > > Benoit Minisini schrieb: > > > > > On m

Re: [Gambas-user] My own sourceforge address was rejected by sourceforge mailing-list! :-)

2008-12-11 Thread gambas
Am Mittwoch, 10. Dezember 2008 16:27:07 schrieb Benoit Minisini: > Funny :-/ Mine too.yesterday evening at 10:18. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web ca

Re: [Gambas-user] Hiding FMain not possible?

2008-12-11 Thread Stefano Palmeri
Il mercoledì 10 dicembre 2008 19:34:44 Benoit Minisini ha scritto: > On mercredi 10 décembre 2008, Stefano Palmeri wrote: > > Il mercoledì 10 dicembre 2008 15:50:15 Rolf-Werner Eilert ha scritto: > > > Benoit Minisini schrieb: > > > > On mercredi 10 décembre 2008, Rolf-Werner Eilert wrote: > > > >>