[Gambas-user] check pixel in drawingarea

2011-05-10 Thread wally
Question on Gambas 3 I need to find pixelcolor from a drawingarea painted with the draw event. I tried already several variants of drawingarea.grab but always fail. the help for Grab is weak and typeof(drawingarea.grab) gives 13 (function) goal is to select pixel (drawn object as lines is not

Re: [Gambas-user] Eval error

2011-05-10 Thread JUHASZ Robert
Hello, Can anything be done with this issue? The problem is little annoying in the IDE but more annoying for the users who upgraded to 11.04 and the existing Gambas programs crash if the eval function was used. Thanks to help if you can! Robi -Original Message- From: Benoît Minisini

Re: [Gambas-user] check pixel in drawingarea

2011-05-10 Thread Benoît Minisini
Question on Gambas 3 I need to find pixelcolor from a drawingarea painted with the draw event. I tried already several variants of drawingarea.grab but always fail. the help for Grab is weak and typeof(drawingarea.grab) gives 13 (function) goal is to select pixel (drawn object as lines

Re: [Gambas-user] check pixel in drawingarea

2011-05-10 Thread wally
On Tuesday, May 10, 2011 14:14:11 Benoît Minisini wrote: Question on Gambas 3 I need to find pixelcolor from a drawingarea painted with the draw event. I tried already several variants of drawingarea.grab but always fail. the help for Grab is weak and typeof(drawingarea.grab) gives

Re: [Gambas-user] check pixel in drawingarea

2011-05-10 Thread Benoît Minisini
On Tuesday, May 10, 2011 14:14:11 Benoît Minisini wrote: Question on Gambas 3 I need to find pixelcolor from a drawingarea painted with the draw event. I tried already several variants of drawingarea.grab but always fail. the help for Grab is weak and

[Gambas-user] Dynamically loading components

2011-05-10 Thread Sebi Kul
Hi! I am using Gambas 3 to develop a modular application. I would like to know if it's possible to load components dynamically (If the component file exist, load it, if not, skip the execution code where the component's functions are called) What I have so far is this: == Try

[Gambas-user] Issue 64 in gambas: Trying to add a dependency when building an AutoPackage Installer chashes the IDE

2011-05-10 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 64 by sebi...@gmail.com: Trying to add a dependency when building an AutoPackage Installer chashes the IDE http://code.google.com/p/gambas/issues/detail?id=64 When

[Gambas-user] Issue 65 in gambas: Trying to add an additional file when building an AutoTools package chashes the IDE

2011-05-10 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 65 by sebi...@gmail.com: Trying to add an additional file when building an AutoTools package chashes the IDE http://code.google.com/p/gambas/issues/detail?id=65 When

Re: [Gambas-user] Dynamically loading components

2011-05-10 Thread Bruce Bruen
On 11/05/11 08:13, Sebi Kul wrote: Hi! I am using Gambas 3 to develop a modular application. I would like to know if it's possible to load components dynamically (If the component file exist, load it, if not, skip the execution code where the component's functions are called) What I have

Re: [Gambas-user] Dynamically loading components

2011-05-10 Thread Benoît Minisini
Hi! I am using Gambas 3 to develop a modular application. I would like to know if it's possible to load components dynamically (If the component file exist, load it, if not, skip the execution code where the component's functions are called) What I have so far is this: == Try

Re: [Gambas-user] Dynamically loading components

2011-05-10 Thread Sebi Kul
The reason for doing this is the following: I'm developing a project which would theoretically have 2 modules, the base one (the program itself) and the online module, (which adds synchronization capabilities). Because i would like to keep the classes inside the Online module hidden, to avoid

Re: [Gambas-user] Dynamically loading components

2011-05-10 Thread nando
To me, it could be implemented with one Gambas main program and you SHELL or EXEC to your component Gambas programs. Thus, they're only loaded when they run. When they're done, they're freed. -- Original Message --- From: Sebi Kul sebi...@gmail.com To: mailing list for gambas

[Gambas-user] This Gambas 2 example does not work properly:

2011-05-10 Thread nando
Make a label on a form: Label1 In code, run the following 3 lines: Label1.text = B Label1.text = Left$(Label1.text, Len(Label1.Text) - 1) Label1.text = Left$(Label1.text, 0) Line 2 or line 3 should reduce it to an empty string. It doesn't -Fernando

Re: [Gambas-user] This Gambas 2 example does not work properly:

2011-05-10 Thread nando
The problem is setting a zero length string to the label For example 'make a label label1 on the form with text =B 'then run the following... DIM s AS STRING s = D s = Left(s, 0) PRINT Len(s) - 1, *; s; * ' s is correct: empty string Label1.text = s'

[Gambas-user] Gambas daemon

2011-05-10 Thread Dimitris Anogiatis
Hey guys, I have a couple of questions... 1) How can I create a daemon in gambas2 (gambas2.21 on Debian Lenny)? Would Application.Daemon=True be enough? 2) Would my daemon be ran as root? if not is there a way for Gambas to set that when it creates the debian package? Thanks in advance