Re: [Gambas-user] Printer not found

2009-04-07 Thread Doriano Blengino
CelticBhoy ha scritto: I have writen a small stock prog, and want to print various reports, but when I use the printer.begin function it does not see my printer. The printer works fine in any other app I try to print from. I am using Ubuntu with Gnome and have the gb, gb.db, gb.db.form,

Re: [Gambas-user] Printer not found

2009-04-07 Thread Benoît Minisini
I had same problem with Ubuntu 8.04 and I found that gambas searchs for libcups.so and Ubuntu has libcups.so.2. So I made a simbolic link (sudo ln -s libcups.so.2 libcups.so) to thas library and all goes fine. Hope this helps. Don't rely on the Printer class to find your printer. Qt 3 is

Re: [Gambas-user] A random sort of listview

2009-04-07 Thread jbskaggs
When I ran the code it ran fine- why is it important to have it count backwards in the random swap? ie for i =199 to 0 step -1 instead of for i=0 to 199 step 1? JB SKaggs Simonart Dominique wrote: Hi, Hmm, did you run exactly this code? If so, there is something wrong with the second

[Gambas-user] Proper use of containers

2009-04-07 Thread M0E Lnx
So I'm trying to put all my objects in containers for easy handling of window resizing, but I've ran into a problem. Here is the problem. Hpanel1 ( expand=true) |- Frame1 (expand=true) |- Hbox1 (expand=true) | - Textlabel1 (expand=true), |- Combobox1 (expand=true) the frame resizes

Re: [Gambas-user] A random sort of listview

2009-04-07 Thread Simonart Dominique
Hi, jbskaggs a écrit : Okay, But why does it do that? I don't see why the direction should matter what am I missing ? Becuase maybe this is something that has plagued me and caused me headaches for a while. JB Skaggs You're right! Thanks! My mistake is that I listed the myArray

Re: [Gambas-user] Proper use of containers

2009-04-07 Thread richard terry
On Wed, 8 Apr 2009 03:34:14 am M0E Lnx wrote: So I'm trying to put all my objects in containers for easy handling of window resizing, but I've ran into a problem. Here is the problem. Hpanel1 ( expand=true) |- Frame1 (expand=true) | |- Hbox1 (expand=true) | | - Textlabel1