[Gambas-user] Dependency is not satisfiable: gambas2-gb.sdl.sound

2009-04-20 Thread Andreas Müller
Hello, all Gambas2 supplies the gb.sdl.sound component. When I use this component on my Ubuntu 8.10 system, I can use sound within gambas applications. When I try to create an installation package, it will work. But when I try to install the package - just created - the following error pops up: De

Re: [Gambas-user] Catch NULL character

2009-04-20 Thread Rodney Rundstrom
Thanks for that I remember using isnull in visual basic and when =null didn't work I checked isnull and found it worked. Thanks again and sorry for any confusion Rodney -Original Message- From: nando [mailto:nand...@nothingsimple.com] Sent: Monday, 20 April 2009 12:44 p.m. To: mailing l

Re: [Gambas-user] More null problems

2009-04-20 Thread nando
I would set them all to false first, then do a case statement, then case else is unknown as a 'catch-all' -- Original Message --- From: Bruce To: gambas-user@lists.sourceforge.net Sent: Mon, 20 Apr 2009 15:59:26 +1000 Subject: [Gambas-user] More null problems > I have a set of t

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread charlesg
Hi, I have experienced this some time ago and it was not on ub904. I have set your code on ub904 with built-in gam2.8 and confirm the error 11. BUT, the fix is the same as it was in my case: get rid of the menu bar and it compiles. Just don't ask me what it means :) rgds -- View this message

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread Jussi Lahtinen
forgot Sources from here: http://gambas.sourceforge.net/ Jussi On Mon, Apr 20, 2009 at 20:15, Jussi Lahtinen wrote: > Maybe you find what you need from this post; > http://www.nabble.com/Libtool---Ubuntu-Jaunty-td23124661.html > > If not, you must compile it from source. > I never had

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread Jussi Lahtinen
Maybe you find what you need from this post; http://www.nabble.com/Libtool---Ubuntu-Jaunty-td23124661.html If not, you must compile it from source. I never had problem compiling Gambas 2 on my system (Ubuntu 8.10 64bit), but I don't know about Jaunty... Try and please report to that post! Jussi

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy
Thanx for the advice & your time looking at this, as I am using the version from the repo's how do I update my version ?? -- View this message in context: http://www.nabble.com/Error-on-Jaunty-tp23132993p23140592.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread Jussi Lahtinen
Your code seems to work... I cannot get signal 11 with it. Only error I got is; "QComboBox::removeItem: (unnamed) Index 1 out of range" when adding item. I think the reason is "ItemName.Remove(iArrayIndex)", iArrayIndex is 1 and index max is 0! And I think that command is in wrong place... Seems th

Re: [Gambas-user] More null problems

2009-04-20 Thread Jorge Carrión
Perhaps "Male", "Female", "Unknown", "On Transit" and "Variable"? Ups... excuse me, I can't resist it... 2009/4/20 Ron_1st > On Monday 20 April 2009, Stephen Bungay wrote: > >It is the nature of radio buttons to allow only one in a set to be > > toggled on, If you really want to go that rout

Re: [Gambas-user] Libtool & Ubuntu Jaunty

2009-04-20 Thread Jorge Carrión
Ok. Thanks, Leonardo. 2009/4/20 Leonardo Miliani > Jorge Carrión ha scritto: > > Ubuntu y still far away in time). ¿Someone has the .debs packages of > Gambas > > 2.12 for Ubuntu 8.04? > > Thanks in advance. > > Same for you. Here: > > http://www.gambas-it.org/gmbs/modules/PDdownloads/viewcat.ph

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy
Thanx for the offer, I have attached the rest of my files, obviously you will need to change file location. http://www.nabble.com/file/p23139578/FMain.form FMain.form http://www.nabble.com/file/p23139578/stock.rec stock.rec http://www.nabble.com/file/p23139578/suppliers.rec suppliers.rec http:

Re: [Gambas-user] More null problems

2009-04-20 Thread Ron_1st
On Monday 20 April 2009, Stephen Bungay wrote: >    It is the nature of radio buttons to allow only one in a set to be > toggled on, If you really want to go that route then I would suggest > that you use checkboxes instead of radio buttons, A better way (IMHO) is > to place a third button on th

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread Jussi Lahtinen
I can't confirm with only FMain.class, too much missing code for test run. But signal 11 means that you are trying to access to memory location that is not allowed. So, if your program crash immediatly when starting, I suspect file handling in Init_Setup. If you like me to test it on Gambas 2.10 s

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy
Using 2.8, source code attached http://www.nabble.com/file/p23138207/FMain.class FMain.class -- View this message in context: http://www.nabble.com/Error-on-Jaunty-tp23132993p23138207.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] Error on Jaunty

2009-04-20 Thread Jussi Lahtinen
What Gambas2.xx version you are using? What are you trying to run? Please, send an example source code. Jussi On Mon, Apr 20, 2009 at 12:08, CelticBhoy wrote: > > I am running gambas 2 on a testing version of Ubuntu 9.04, when I try to run > a simple program I get this error :- > > Your progr

Re: [Gambas-user] Nasty bug in "With" instruction!

2009-04-20 Thread Jussi Lahtinen
Thanks! OK, I have to check my code for this... in vb this works different way. Thought I don't know how exactly. In vb WITH instruction (properly placed) speeded up code, and code I used as example worked. Maybe it used tmp like in Gambas, but it did this also: Code: With var .y = 0 var = funcx(

Re: [Gambas-user] More null problems

2009-04-20 Thread Jeff
I agree with Stephen's third button option. I don't think check boxes are right as you can't be both simultaneously (except maybe in some speciality bars and clubs). Radio buttons are the right way to go. You may be able to get the behaviour you're asking for if you delete and recreate the control

Re: [Gambas-user] Libtool & Ubuntu Jaunty

2009-04-20 Thread Leonardo Miliani
Jorge Carrión ha scritto: > Ubuntu y still far away in time). ¿Someone has the .debs packages of Gambas > 2.12 for Ubuntu 8.04? > Thanks in advance. Same for you. Here: http://www.gambas-it.org/gmbs/modules/PDdownloads/viewcat.php?cid=7 are packages for 8.04 too. -- Ciao. Leo. Web: www.leonar

Re: [Gambas-user] More null problems

2009-04-20 Thread Stephen Bungay
It is the nature of radio buttons to allow only one in a set to be toggled on, If you really want to go that route then I would suggest that you use checkboxes instead of radio buttons, A better way (IMHO) is to place a third button on the form labelled as "Unknown" and set that one when the

Re: [Gambas-user] order of children in container

2009-04-20 Thread Benoît Minisini
> I closed the form and reloaded it and the control order changed to how I > wanted it. > > I still am not sure if I understand why. > > JB SKaggs > The order of control is the z-order, i.e. the first returned control is the lower one, while the last is the higher one. The IDE automatically chan

Re: [Gambas-user] Nasty bug in "With" instruction!

2009-04-20 Thread Benoît Minisini
> Some more testing... > With this code: > > With tmp > .y = 0 > tmp = funcx() > With tmp ' Extra with instruction. > Debug .y > Debug tmp.y > End With > End With > > Or with this: > > With tmp > .y = 0 > funcx2(tmp) ' By reference (unfortunately this solution doesn't fit >

Re: [Gambas-user] Sdl mouse problem XCFE problem.

2009-04-20 Thread jbskaggs
I have discovered that running gambas2.12 in fluxbox, gnome, kde, enlightenment, or xfce had no effect on the SDL Mouse problem. But I also found out the mouse cursor is controllable on Forms in these environments (I am on Wolvix 2.0- a Slackware 12.2 enviro) but the cursor is not controllable i

[Gambas-user] Error on Jaunty

2009-04-20 Thread CelticBhoy
I am running gambas 2 on a testing version of Ubuntu 9.04, when I try to run a simple program I get this error :- Your program has stopped unexpectedlly by raising signal #11 What is this error? -- View this message in context: http://www.nabble.com/Error-on-Jaunty-tp23132993p23132993.html Sen

Re: [Gambas-user] Setting top margin of printer.

2009-04-20 Thread Doriano Blengino
richard terry ha scritto: > I'm still struggling with the printer stuff. > > Say I have an A4 Page, and I want to write something right near the top of > the > page > > If I do: > > Dim PagePosition as integer > Dim LeftMargin as integer = 100 > Dim FontHeight as integer > > 'calculate the font h

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-20 Thread Doriano Blengino
phohammer ha scritto: > >>> Okay, I realize I should RTFM, but I intended to fly at this with gambas' >>> GUI >>> and learn some programming, not Linux >>> terminal commands. I'm going to bow out for now. Thank you for your help, >>> Ron_1st, jbskaggs, Charlie Reinl and >>> Doriano Blengino. I gu

Re: [Gambas-user] Libtool & Ubuntu Jaunty

2009-04-20 Thread charlesg
Hi, Well I don't know if it is because I only use 386 Ubuntu, but I do not have a problem (or maybe the problem is too subtle for me to notice). I have a pile of old 20Gb Hard disks to mess around on (currently ST4.00 USD6.00 each!) and have Gam2.11 quite happy on UB810 on Athlon64 without any l