Re: [Gambas-user] Workspace and scrollbars

2009-09-12 Thread Demosthenes Koptsis
yes i thought it later... Thanks anyway! 2009/9/13 Benoît Minisini : >> Good morning to all, >> >> is it possible to use scrollbars with workspace when a form is bigger >> than visible screen area? >> > > You can put all your form contents inside a ScrollView before putting the form > inside the

Re: [Gambas-user] Problem with UTF-8 in Gambas-connection to MySQL

2009-09-12 Thread Benoît Minisini
> (I don't know English well) > Use Debian 5 "Lenny" -32, Gambas 2.7 from repository. > > I develop an account program for russians users. It must work with cyrillic > correct. > I have made MySQL5 (default UTF8) database with direct CHARACTER SET UTF8 > option, tables with direct CHARACTER SET UT

Re: [Gambas-user] Workspace and scrollbars

2009-09-12 Thread Benoît Minisini
> Good morning to all, > > is it possible to use scrollbars with workspace when a form is bigger > than visible screen area? > You can put all your form contents inside a ScrollView before putting the form inside the workspace. -- Benoît Minisini -

Re: [Gambas-user] Form_Resize

2009-09-12 Thread Benoît Minisini
> Salut, > > is that my, or a general problem, on gambas2 2.16 I can make forms > bigger, but not smaller...or did I miss something ? > That I remarked on my "White-A4-PalmTop" for Debug-Watch-Windows but now > I find that on a form in the project (see example). > This always behaved like that:

Re: [Gambas-user] Profiler for Gambas projects

2009-09-12 Thread Doriano Blengino
Jussi Lahtinen ha scritto: > I must add this also... > Profiler is like debugger, if you know where the error is you don't > need debugger, > but many times you don't! > Same thing with profiler, if you know where the bottleneck is you > don't need profiler, > but many times you don't! > I don't

[Gambas-user] Form_Resize

2009-09-12 Thread Charlie Reinl
Salut, is that my, or a general problem, on gambas2 2.16 I can make forms bigger, but not smaller...or did I miss something ? That I remarked on my "White-A4-PalmTop" for Debug-Watch-Windows but now I find that on a form in the project (see example). -- Amicalment Charlie firstTry-0.0.1.tar.gz

Re: [Gambas-user] Slider problem?

2009-09-12 Thread Ron_1st
On Saturday 12 September 2009, Benoît Minisini wrote: > > On Saturday 12 September 2009, Doriano Blengino wrote: > > > >>> I didn't change the behaviour of gb.qt because of gb.gtk. Mouse > > > >>> events must be always raised, whatever the value of the Enabled > > > >>> property. > > > > > > Why?

Re: [Gambas-user] Check if a program is already started

2009-09-12 Thread Jesus Guardon
Just another way: PUBLIC FUNCTION pidOf(program AS String) AS Boolean 'checks if a program is running DIM gotpid AS String = "" DIM running AS Boolean = FALSE TRY SHELL "pidof " & program TO gotpid IF gotpid THEN running = TRUE ELSE running = FALSE

Re: [Gambas-user] Check if a program is already started

2009-09-12 Thread Johny Provoost
Thanks, It works *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provo...@skynet.be * *mailto: johny.provo...@gmail.com * *Website:* *http://www.johnyprovoost.net* Jussi Lahtinen schr

Re: [Gambas-user] a IDE-Bug in 2.16.0 rev 2323

2009-09-12 Thread Benoît Minisini
> Am Freitag, den 11.09.2009, 13:34 +0200 schrieb Benoît Minisini: > > > Salut Benoit, > > > > > > > > > [OperatingSystem] > > > OperatingSystem=Linux > > > KernelRelease=2.6.24-24-generic > > > DistributionVendor=ubuntu > > > DistributionRelease="Ubuntu 8.04.3 LTS" > > > > > > [System] > > > CPUAr

Re: [Gambas-user] How to crash the IDE

2009-09-12 Thread Benoît Minisini
> Hi, > > On 2.15.0 . > Editing a form select the Background change feature, select Free colour and > write into the HEX colour: HDFDFFF > > --> Type mismatch Wanted Integer got Null Instead >FColourChooser.txtHexa_Change.372 > ...and IDE dies. > > Regards > Pino > It is fix

Re: [Gambas-user] Application_mousedown() + Application_keypress() ?

2009-09-12 Thread Benoît Minisini
> I'm trying to get an application-wide mouse down event to register. I > found that when I do a Form_mousedown() it only triggers when you click > on an empty part of the form, not when you're clicking on any type of > control. I'm looking for something that will trigger whenever you hit > the m

Re: [Gambas-user] Slider problem?

2009-09-12 Thread Benoît Minisini
> > Why? Why should mouse events "be always raised"? > Because it is useful. A "disabled" control means that it must not be used by the user. That should not mean that it won't receive basic input events. > >>> Regards, > >> > >> Ok understand now. > >> > >> I have to change my code a bit to

Re: [Gambas-user] Slider problem?

2009-09-12 Thread Benoît Minisini
> On Saturday 12 September 2009, Doriano Blengino wrote: > > >>> I didn't change the behaviour of gb.qt because of gb.gtk. Mouse > > >>> events must be always raised, whatever the value of the Enabled > > >>> property. > > > > Why? Why should mouse events "be always raised"? > > What if the right

Re: [Gambas-user] intel i7 - parallel processing

2009-09-12 Thread Jussi Lahtinen
I have found problems with multi-threading, not so much because of gambas. But how to spilt a task for multi-threading! It would be interesting to know what solutions people has invent. Jussi On Sat, Sep 12, 2009 at 02:25, nando wrote: > I run simultaneously multiple Gambas apps on a multicor

Re: [Gambas-user] Check if a program is already started

2009-09-12 Thread Jussi Lahtinen
Not very elegant, but works: Dim sOutput As String Exec ["pgrep", "-f", "-l", "NameOfYourProgram.gambas"] Wait To sOutput If Split(Trim$(sOutput), gb.NewLine).Count > 1 Then 'Allready running EndIf Jussi On Sat, Sep 12, 2009 at 15:50, Johny Provoost wrote: > Hi, > > Is there a command to

[Gambas-user] Check if a program is already started

2009-09-12 Thread Johny Provoost
Hi, Is there a command to check if a program (programed in Gambas) is already running? I want to avoid that a program is started twice. Johny Provoost -- Let Crystal Reports handle the reporting - Free Crystal Reports

Re: [Gambas-user] Slider problem?

2009-09-12 Thread Ron_1st
On Saturday 12 September 2009, Doriano Blengino wrote: > >>> I didn't change the behaviour of gb.qt because of gb.gtk. Mouse events > >>> must be always raised, whatever the value of the Enabled property. > >>>       > Why? Why should mouse events "be always raised"? What if the rightmouse button

Re: [Gambas-user] Profiler for Gambas projects

2009-09-12 Thread Jussi Lahtinen
I must add this also... Profiler is like debugger, if you know where the error is you don't need debugger, but many times you don't! Same thing with profiler, if you know where the bottleneck is you don't need profiler, but many times you don't! Jussi On Sat, Sep 12, 2009 at 15:39, Jussi Lahtin

Re: [Gambas-user] Profiler for Gambas projects

2009-09-12 Thread Jussi Lahtinen
> Computers are much faster, Still your program can run slowly! > compilers are more optimizing, Gambas compiler do not optimize at all. > analisys of the task and experience tell what to do - better than a profiler. Not true at all. That's almost always opposite! > This was clearly sta

[Gambas-user] Problem with UTF-8 in Gambas-connection to MySQL

2009-09-12 Thread Dima Malkov
(I don't know English well) Use Debian 5 "Lenny" -32, Gambas 2.7 from repository. I develop an account program for russians users. It must work with cyrillic correct. I have made MySQL5 (default UTF8) database with direct CHARACTER SET UTF8 option, tables with direct CHARACTER SET UTF8 option. The