Re: [Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Demosthenes Koptsis
i attach the project. gambas3-svn3442 @ x32 gambas3-svn3475 @ x64 ubuntu, gtk none of mouse events are working. On Thu, 2011-01-20 at 02:27 +0100, Benoît Minisini wrote: > > Good morning, > > > > the following example is not working in gambas3-svn3475 > > > > -- >

Re: [Gambas-user] Gambas API options

2011-01-19 Thread John Spikowski
On Thu, 2011-01-20 at 02:30 +0100, Benoît Minisini wrote: > > Hi List, > > > > Does Gambas provide a API other languages can access? (shared object) I > > would like to create the framework for an application in Gambas and > > interface with it with ScriptBasic. The .so libraries I did peek at > >

Re: [Gambas-user] Balloon no more displayed

2011-01-19 Thread Benoît Minisini
> Hi Benoît, > return to this after a while because it seems not a compiz related > problem, or at least, not only. > If your first opened Form isn't the FMAIN and is Modal then the balloon > is hidden by the form. If you open the FMAIN and then open a Modal Form > the balloon is corretly displayed

Re: [Gambas-user] Gui question = menu shadow left on screen after click

2011-01-19 Thread Benoît Minisini
> On Monday 10 January 2011 08:04:26 Benoît Minisini wrote: > > > Hi list > > > > > > Enclosed is picture - when I click on a menu item, and the code > > > attatched to a menu item > > > > "attached" how ? Where ? > > to explain further > > Menu may have several items: > -- display result > --

Re: [Gambas-user] Form Key press event raised twice?

2011-01-19 Thread Benoît Minisini
> > Hi, > > > > New project with new FMain: > > > > PUBLIC SUB Form_KeyPress() > > > > PRINT Key.Code, Key.Text > > > > END > > > > In run-time, when I press a key, eg. 'a', I get: > > > > 97 a > > 97 a > > > > Gambas 2.22, Fedora 14 > > I want to know if it's a bug?. If

Re: [Gambas-user] Form Key press event raised twice?

2011-01-19 Thread Benoît Minisini
> Hi, > > New project with new FMain: > > PUBLIC SUB Form_KeyPress() > PRINT Key.Code, Key.Text > END > > In run-time, when I press a key, eg. 'a', I get: > > 97 a > 97 a > > Gambas 2.22, Fedora 14 > I want to know if it's a bug?. If it's a bug, it will be fixed, so I wait.

Re: [Gambas-user] Gambas API options

2011-01-19 Thread Benoît Minisini
> Hi List, > > Does Gambas provide a API other languages can access? (shared object) I > would like to create the framework for an application in Gambas and > interface with it with ScriptBasic. The .so libraries I did peek at > didn't seem to have anything useful exported. > > > The following l

Re: [Gambas-user] gb.qte

2011-01-19 Thread Benoît Minisini
> Can someone tell me what the trick is to get gb.gte to pass the > configure script. I'm pretty sure I have all the dependencies required > installed. (libqt3-mt-dev_3.3.8-b-6ubuntu2_i386.deb) > > > Ubuntu 32 10.10 > You can safely ignore the compilation of gb.qte. Unless you find the libqte

Re: [Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Benoît Minisini
> Good morning, > > the following example is not working in gambas3-svn3475 > > -- > ' Gambas class file > > Public Function Color() As Integer > > Dim Red As Integer > Dim Green As Integer > Dim Blue As Integer > Dim sColor As String > Dim iColor As Intege

Re: [Gambas-user] Project title not translated

2011-01-19 Thread Benoît Minisini
> Hi, not a bug, a minor issue. > The project title does not appear in the translation window. This way if > you set a form Caption = Application.Title it will be in "standard > language", regardless the one you selected. > Could be correct? > Regards, > Emanuele > I think it should be fixed in r

Re: [Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Fabien Bodard
2011/1/19 Demosthenes Koptsis : > ok i change it to RndColor, > > nothing > i dont have Mouse Events generally...! > > Also other Events of mouse does not work. ??? witch version of gambas , distrib, tootlkit > > -- > ' Gambas class file > > Public Function RndColor() As Integer > >  Dim

Re: [Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Fabien Bodard
2011/1/19 Matti : > Works perfect here, version 3457. > > The only thing I did was to rename Color() to RndColor(), because Color is a > gambas class name. Maybe that's the reason why? IT's the reason why ! : :) > > Regards > Matti > > > Am 19.01.2011 10:39, schrieb Demosthenes Koptsis: >> >> Goo

Re: [Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Demosthenes Koptsis
ok i change it to RndColor, nothing i dont have Mouse Events generally...! Also other Events of mouse does not work. -- ' Gambas class file Public Function RndColor() As Integer Dim Red As Integer Dim Green As Integer Dim Blue As Integer Dim sColor As String Dim iColor As I

Re: [Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Matti
Works perfect here, version 3457. The only thing I did was to rename Color() to RndColor(), because Color is a gambas class name. Maybe that's the reason why? Regards Matti Am 19.01.2011 10:39, schrieb Demosthenes Koptsis: > > Good morning, > > the following example is not working in gambas3-

[Gambas-user] CGI programme with charts

2011-01-19 Thread Vassilis K
Hello Benoit, Dimitri, Doriano and everybody else! I want to make a kind of astrology programme on a web page with charts, horoscopes etc, You place the date, time and place of birth and get the horoscope chart and some details of the character... 1.Do you thing that a gambas CGI programme would

[Gambas-user] Project title not translated

2011-01-19 Thread Emanuele Sottocorno
Hi, not a bug, a minor issue. The project title does not appear in the translation window. This way if you set a form Caption = Application.Title it will be in "standard language", regardless the one you selected. Could be correct? Regards, Emanuele ---

Re: [Gambas-user] Application logging using SHELL

2011-01-19 Thread Bruce Bruen
On Wednesday, January 19, 2011 09:05:10 pm vikram wrote: > Could this cause the application to be a resource hog? Couldn't see why. I use SHELL extensively for different reasons and have so far found it to be efficient. But for what you are attempting I would just like to add one thing. As soon

[Gambas-user] Gambas2 Application.Dir

2011-01-19 Thread Rolf-Werner Eilert
Just found that with a commandline application started within the IDE, Gambas2 will deliver the user's $home for Application.Dir and not the directory from the Gambas project. I would have expected the project directory. Example: My project is in /home/user/Gambas2/Project At least when run on

Re: [Gambas-user] Application logging using SHELL

2011-01-19 Thread Demosthenes Koptsis
here is an example i did. if you like it you can use it. --- ' Gambas class file PUBLIC hLog AS Stream PUBLIC sFilename AS String = User.Home &/ ".MyLog.txt" PUBLIC sLogEntry AS String PUBLIC SUB Form_Open() hLog = OPEN sFilename FOR APPEND END PUBLIC SUB Button1_Click() sLogE

[Gambas-user] Application logging using SHELL

2011-01-19 Thread vikram
Hi, I am using Gambas 2.21, on Debian Squeeze. I am trying to keep a log of the things my application does, for instance events like forms opening, errors can be logged. I am thinking of using the SHELL with echo command to write to a log file. For example, using SHELL i would use: SHELL "echo

[Gambas-user] using echo command within EXEC

2011-01-19 Thread vikram
Hi, I am using Gambas 2.21, on Debian Squeeze. I am trying to keep a log of the things my application does, for instance events like forms opening, errors can be logged. I am thinking of using the SHELL with echo command to write to a log file. For example, using SHELL i would use: SHELL "ech

[Gambas-user] MouseDown event and Gambas3

2011-01-19 Thread Demosthenes Koptsis
Good morning, the following example is not working in gambas3-svn3475 -- ' Gambas class file Public Function Color() As Integer Dim Red As Integer Dim Green As Integer Dim Blue As Integer Dim sColor As String Dim iColor As Integer Red = Rnd(0, 256)