[Gambas-user] MySQL problem

2009-04-07 Thread agrgal
First of all, excuse my poor English. I'm still studying it. :-) I've experienced a problem within an application. It works well under Gambas Environment but when I pack a debian package in order to install it later, I get a mistake. It seems not to have suitable permissions when it connects to My

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

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 myArr

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

2009-04-07 Thread jbskaggs
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 Simonart Dominique wrote: > > Hi, > > jbskaggs a écrit : >> When I ran the code it ran fine- w

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

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

2009-04-07 Thread Simonart Dominique
Hi, jbskaggs a écrit : > 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 > Strange, because it should not :) run a test with 10 numbers 0-9 and fixe the seed wi

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 se

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

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

2009-04-07 Thread Simonart Dominique
Simonart Dominique a écrit : > Hi, > > Hmm, did you run exactly this code? If so, there is > something wrong with the second FOR NEXT loop > > jbskaggs a écrit : >> using your suggestions and the swap command vs manual swapping this is my >> code: >> >> public b as string 'optional string used

Re: [Gambas-user] Printer not found

2009-04-07 Thread Jorge Carrión
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. 2009/4/7 Doriano Blengino > CelticBhoy ha scritto: > > I have writen

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

2009-04-07 Thread Simonart Dominique
Hi, Hmm, did you run exactly this code? If so, there is something wrong with the second FOR NEXT loop jbskaggs a écrit : > using your suggestions and the swap command vs manual swapping this is my > code: > > public b as string 'optional string used to hold the array data for file or > split l