Re: [Gambas-user] shared librarry into gambas

2009-04-08 Thread Doriano Blengino
M0E Lnx ha scritto: > I always wandered myself how this works. > > For instance... in python, you can code something like > > import gtk > import glade > import pygtk > Doing so, you are not using 'external libraries' (shared objects) - you are merely using a python library located somewhere in

Re: [Gambas-user] Access to an specific directory.

2009-04-08 Thread Richard
On Wednesday 08 April 2009 22:19:02 agrgal wrote: > Any quick way to get the user directory programatically? Try User.Home. That should get it for you as in: Dim my_dir AS String my_dir = User.Home -- This SF.net email

[Gambas-user] Access to an specific directory.

2009-04-08 Thread agrgal
Any quick way to get the user directory programatically? -- View this message in context: http://www.nabble.com/Access-to-an-specific-directory.-tp22959798p22959798.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] MySQL problem

2009-04-08 Thread agrgal
I self-reply my comment: I didn't actually have a bug with MySQL. It turned out to be a wrong access to a non-allowed directory because in the same routine I kept the conection data into a binary file. Anyway, I have another question to get answered, but I think I must open new threads. Thank you

Re: [Gambas-user] shared librarry into gambas

2009-04-08 Thread M0E Lnx
I always wandered myself how this works. For instance... in python, you can code something like import gtk import glade import pygtk And use the methods in these modules throughout your app. could this be done in gambas somehow? I have had instances in gambas where I could really use a shared l

Re: [Gambas-user] shared librarry into gambas

2009-04-08 Thread Jussi Lahtinen
Hi! Here is my old test project attached: http://www.mail-archive.com/gambas-user@lists.sourceforge.net/msg02551.html Here you can find documentation about External Function Declaration: http://gambasdoc.org/help/lang/extdecl?v3 Hope that helps! Jussi On Wed, Apr 8, 2009 at 18:56, juelin wr

Re: [Gambas-user] working with many formulares

2009-04-08 Thread Jorge Carrión
In the click event of button in form 1: PUBLIC SUB button1_Click() DIM frForm2 AS NEW formu2 frForm2.ShowModal END 2009/4/8 juelin > > hi, > I'm new at Gambas. > I'm writting an application with many windows (formulares). > I create two formulares at my application. > the first formula

Re: [Gambas-user] MySQL problem

2009-04-08 Thread Jorge Carrión
It means that you must provide your clients with you _all.deb package and gambas2_gb_db_mysql.deb package (or tell him how to install it from ubuntu repositories). 2009/4/8 agrgal > > So does it mean that I have to install the package gambas2-gb-db-mysql plus > gambas2 itself and any applicati

[Gambas-user] shared librarry into gambas

2009-04-08 Thread juelin
hi, I'm new at Gambas. I'm writting an application for Laser. So I need to use the function from a shared librarry into gambas (libFTD2XX.so at /usr/lib). I'm using SuSE Open Linux 11.1 kernel 2.6 How can I fix the problem. Can anybody help with example please. Thank you and kind regards Jürgen -

[Gambas-user] working with many formulares

2009-04-08 Thread juelin
hi, I'm new at Gambas. I'm writting an application with many windows (formulares). I create two formulares at my application. the first formular work's. 1. When I push a button in formular1 I want change to formular 2. What must I do? 2. when the work is done in formular2 I want go back to formula

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

2009-04-08 Thread Simonart Dominique
Hi Jussi, NO, there is no bug, it's my mistake!! I listed the myArray values just after the SWAP instruction. But, as you can see it in a preceeding answer to jbskaggs, this is a bad idea because in the "forward FOR NEXT loop" case, these values could change any time. You don't make this error

Re: [Gambas-user] Proper use of containers

2009-04-08 Thread M0E Lnx
That's what I've noticed. I really need it to arrange, and the only way I can manage that right now is to add other containers inside the frame control and resize these containers manually using the form_resize() event. But this really shouldn't be necessary. Will this be fixed?

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

2009-04-08 Thread Jussi Lahtinen
Hi! I can't reproduce your problem. Randomize with seed 12345, I got; >From 0 to 9: 4 0 7 9 5 1 2 6 3 8 >From 9 to 0: 4 2 7 8 3 0 6 9 1 5 Both correct. So maybe there is a bug in SWAP command with Gambas version... what are you using? With Gambas 2.10 it is working. Jussi P.S. Code I used to

Re: [Gambas-user] Proper use of containers

2009-04-08 Thread Benoît Minisini
> See attached project. > > I think the problem is in the frame object. It doesn't resize it's > child objects. > Since the hbox inside the frame does not get resized, the hbox cannot > resize it's children objects. > The Frame control is the only container that does not arrange its contents at a

Re: [Gambas-user] Proper use of containers

2009-04-08 Thread M0E Lnx
Whooops... forgot to actually attach the project Here it is now nester-0.0.1.tar.gz Description: GNU Zip compressed data -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment

Re: [Gambas-user] Proper use of containers

2009-04-08 Thread M0E Lnx
See attached project. I think the problem is in the frame object. It doesn't resize it's child objects. Since the hbox inside the frame does not get resized, the hbox cannot resize it's children objects. -- This SF.net em

Re: [Gambas-user] MySQL problem

2009-04-08 Thread agrgal
So does it mean that I have to install the package gambas2-gb-db-mysql plus gambas2 itself and any application will run later in another computer where installed without gambas2? Or does it mean that I must install my application got along with the package gambas2-gb-db-mysql in each installation?

Re: [Gambas-user] MySQL problem

2009-04-08 Thread Jorge Carrión
I've found same problem. The myapplication_all.deb does not include de gambas2-gb-db-mysql package. I don't know why. You should install it by hand after install you application. Perhaps sombody can explain this... 2009/4/7 agrgal > > First of all, excuse my poor English. I'm still studying it.