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

2009-04-20 Thread Ron
Ron_1st schreef: On Sunday 19 April 2009, phohammer wrote: I would do as you said with the Object example, but those of infinite wisdom made it read-only. When you make a copy to your home directory or the place where you want to store your projects it is automagic not readonly any more.

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 height

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

[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

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 changes

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:

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

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
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

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 the

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

Re: [Gambas-user] Libtool Ubuntu Jaunty

2009-04-20 Thread Jorge Carrión
Ok. Thanks, Leonardo. 2009/4/20 Leonardo Miliani leona...@leonardomiliani.com 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:

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 ron...@tiscali.nl 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

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 that

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
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 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