Re: [Gambas-user] perl unpack

2011-09-19 Thread Ron
Great work! I had a few vb code to start from, but the all where slightly different, so where the results. This shows it's sometimes better to just start from the basic info and work from there line by line... Thanks alot! Going to put this in my project... Regards, Ron_2nd. 2011/9/20 Caveat :

Re: [Gambas-user] A question to a control

2011-09-19 Thread Dag-Jarle Johansen
Hi Jussi, I get panTB (? RS!parent) TB1_Refresh (yyy.name) Button (RS!typ) What should be the correct Elements to me. I send you the project and a sql-dump (PHP-Admin) of the DB. Thanks in advance, Dag-Jarle 2011/9/19 Jussi Lahtinen > Cannot see error in this part of the code. > What happe

[Gambas-user] Gambas3 control components _Arrangement "incorrectly overridden"

2011-09-19 Thread Bruce Bruen
Another migration problem. I'm not having a good day. :-( I don't know if this is a bug or whether I'm just not looking at the code and/or the help correctly. I am migrating a bunch of specialised controls from gambas2 to gambas3. Much of it is working wonderfully but this one has got me beat.

Re: [Gambas-user] Inheritance and Signature checking in gambas 3

2011-09-19 Thread Bruce Bruen
On Tue, 2011-09-20 at 03:06 +0200, Benoît Minisini wrote: > Mmm. You should provide your code, or some schema, so that I am sure to > really > understand your design. > > Now I will try to give you solution, but I'm not sure it is good as I'm not > sure that I understood your description comp

Re: [Gambas-user] Inheritance and Signature checking in gambas 3

2011-09-19 Thread Benoît Minisini
> HI, > > I thought I may have trouble with this area :-( > > I am migrating quite a lot of gambas2 components that work well and most > of the pain has arisen in this signature checking in the runtime, as in > the "incorrectly overridden" message. > > First, because this is only evident in the

Re: [Gambas-user] Small error in help text for Event declaration

2011-09-19 Thread Benoît Minisini
> Hi, > > The Gambas 3 help for Event declaration has an error in the example > code: > > > Events declaration > EVENT Name ( [ Parameter #1 [ , Parameter #2 ... ] ) > > > This declares a class event. This event is raised by using > the RAISE keyword. > > The RAISE keyword may return a boolea

[Gambas-user] Inheritance and Signature checking in gambas 3

2011-09-19 Thread Bruce Bruen
HI, I thought I may have trouble with this area :-( I am migrating quite a lot of gambas2 components that work well and most of the pain has arisen in this signature checking in the runtime, as in the "incorrectly overridden" message. First, because this is only evident in the runtime, I have a

Re: [Gambas-user] perl unpack

2011-09-19 Thread Caveat
Don't stress too much over the `, it's just a kind of non-standard padding character. The % at the beginning of the string says we only have 5 characters to decode so we shouldn't worry...we SHOULD always have an exact multiple of 4 characters after the first length byte... but some of them may no

[Gambas-user] Small error in help text for Event declaration

2011-09-19 Thread Bruce Bruen
Hi, The Gambas 3 help for Event declaration has an error in the example code: Events declaration EVENT Name ( [ Parameter #1 [ , Parameter #2 ... ] ) This declares a class event. This event is raised by using the RAISE keyword. The RAISE keyword may return a boolean value to indicate if the e

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-19 Thread Ru Vuott
Hello Benoît, thank you very much for your interest. I appreciated. Now, I am trying update my Gambas with: svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ but I have some problem, ...maybe because I run Linux-Mint from a pen-drive as Live CD. I'll inform you abou

Re: [Gambas-user] Read a binary file

2011-09-19 Thread Oliver Etchebarne Bejarano
Hah! That's the function I was looking for :-D Thank you Benoît!! /Oliver Etchebarne Bejarano/ Gerente General *Paperclip X10 SRL* Web :http://x10.pe Feed RSS :http://x10.pe/feed Facebook :http://x10.pe/facebook Twi

[Gambas-user] sig #6 with picture

2011-09-19 Thread tobias
hi benoît, i got a sig #6 every time my program exited (claims about double free). i reduced the circumstances to this one (because once commented out, it works well): Private hPic As Picture Public Sub Form_Open() hPic = Object.New("Image", [256, 256, Color.White, Image.Standard]).Picture

Re: [Gambas-user] A question to a control

2011-09-19 Thread Jussi Lahtinen
Cannot see error in this part of the code. What happens if you add "Debug yyy.Name;;RS!typ" under 'Case "PictureBox", "Button"'? Does it get executed? Send the project with sample database if possible. Jussi On Mon, Sep 19, 2011 at 15:59, Dag-Jarle Johansen < dag.jarle.johan...@gmail.com> wrot

Re: [Gambas-user] perl unpack

2011-09-19 Thread Jussi Lahtinen
Do you handle "`" (grave accent) correctly? http://en.wikipedia.org/wiki/Uuencoding#Uuencode_table How are you trying to do this in Gambas? Any code to show? Jussi On Mon, Sep 19, 2011 at 14:24, Ron wrote: > I'm trying to decode this with gambas, no luck, anyone has an idea? > > #!/usr/bin/p

[Gambas-user] A question to a control

2011-09-19 Thread Dag-Jarle Johansen
Hi, I have defined PRIVATE YYY as Control and want to set some data from a Database, like this For I=0 to RS.Count -1 For Each yyy In panTB.Children If yyy.Name = RS!CtrlName Then Select Case RS!typ Case "PictureBox", "Button"

Re: [Gambas-user] Control Properties - Align

2011-09-19 Thread Dag-Jarle Johansen
Hi, thanks a lot Regards, Dag-Jarle 2011/9/19 Caveat > Try typing Align. in the IDE, it'll pop up with the list of values... > > For a TextBox, it's Normal (1), Left (1), Center (2), and Right (3). I > guess the value of Normal may depend on your locale... > > Kind regards, > Caveat > > On Mo

[Gambas-user] perl unpack

2011-09-19 Thread Ron
I'm trying to decode this with gambas, no luck, anyone has an idea? #!/usr/bin/perl print pack('u', "send:"); %http://p.sf.net/sfu/rim-devcon-copy1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listi

Re: [Gambas-user] Control Properties - Align

2011-09-19 Thread Caveat
Try typing Align. in the IDE, it'll pop up with the list of values... For a TextBox, it's Normal (1), Left (1), Center (2), and Right (3). I guess the value of Normal may depend on your locale... Kind regards, Caveat On Mon, 2011-09-19 at 01:24 -0300, Dag-Jarle Johansen wrote: > Hi, > > I have