[Gambas-user] gb3: DrawAlpha

2011-07-04 Thread Kevin Fishburne
Since DrawImage just copies the RGBA channels and PaintImage blends the channels using the alpha channel, I'm assuming that DrawAlpha copies (but does not blend) the alpha channel. Is that the case? If so then it follows there should be a PaintAlpha, which blends one alpha channel into another

Re: [Gambas-user] gb3: clearing a public embedded array from a procedure

2011-07-04 Thread Kevin Fishburne
On 07/04/2011 08:25 PM, Benoît Minisini wrote: > > Embedded arrays are not Gambas object, their memory is allocated directly > inside the object where they are declared. > > So you can't use Clear(), as that method resizes the array to zero elements. > > If you don't want to be confused, just use n

Re: [Gambas-user] gb3: clearing a public embedded array from a procedure

2011-07-04 Thread Benoît Minisini
> I've declared an array like this: > > Public QueueObject[1024] As String > > and tried to clear it in a procedure like this: > > QueueObject.Clear() > > but receive the error "Embedded array...". > > I just need to erase all the values in the array so I can reassign new > ones. Obviously I

[Gambas-user] gb3: clearing a public embedded array from a procedure

2011-07-04 Thread Kevin Fishburne
I've declared an array like this: Public QueueObject[1024] As String and tried to clear it in a procedure like this: QueueObject.Clear() but receive the error "Embedded array...". I just need to erase all the values in the array so I can reassign new ones. Obviously I can do this manually, bu

[Gambas-user] Backing up Gmail with Gambas?

2011-07-04 Thread Silva
Hello! I'm impressed with Gambas. But I did not find examples on how to resolve this situation: I need a routine to back up Gmail's. IMAP4 with SSL / TLS. Something as simple as: - Gmail Login - Read the messages in each folder - Record a database with MySQL It is possible to do this? Anyone have a

Re: [Gambas-user] Please help me!

2011-07-04 Thread M. Cs.
Thanks, these are clear words we need! I think it is very important to have clear explanations. 2011/7/3, Benoît Minisini : >> I've tried to do exactly what I've done in G2: giving coordinates in >> original pixel sizes of the image. >> Can I set the resolution to 300 dpi and to use the originally

Re: [Gambas-user] About Raise Events

2011-07-04 Thread Demosthenes Koptsis
On Mon, 2011-07-04 at 15:40 +0200, Benoît Minisini wrote: > > On Mon, 2011-07-04 at 11:26 +0200, Fabien Bodard wrote: > > > 2011/7/4 Demosthenes Koptsis : > > > > Hello, > > > > > > > > i have a class CCar with an event Run(). > > > > > > > > When i implement the object hCar in module Main > > >

Re: [Gambas-user] Gambas-user Digest, Vol 62, Issue 9

2011-07-04 Thread Laurent Carlier
2011/7/4 Emanuele Sottocorno > > > what is the output of: > > pkg-config --debug sdl SDL_ttf glew xcursor > > attached. > > > > -- > All of the data generated in your IT infrastructure is seriously valuable. > Why? It con

Re: [Gambas-user] Gambas-user Digest, Vol 62, Issue 9

2011-07-04 Thread Emanuele Sottocorno
> what is the output of: > pkg-config --debug sdl SDL_ttf glew xcursor attached. Option --debug seen Error printing disabled by default, value of --print-errors: 0 Error printing disabled Adding virtual 'pkg-config' package to list of known packages Cannot open directory '/usr/local/lib/pkgconf

Re: [Gambas-user] About Raise Events

2011-07-04 Thread Benoît Minisini
> On Mon, 2011-07-04 at 11:26 +0200, Fabien Bodard wrote: > > 2011/7/4 Demosthenes Koptsis : > > > Hello, > > > > > > i have a class CCar with an event Run(). > > > > > > When i implement the object hCar in module Main > > > i have to use Object.Attach to use the event handler for the event Run.

Re: [Gambas-user] rev 3910 gb.sdl component is disable

2011-07-04 Thread Laurent Carlier
2011/7/4 Emanuele Sottocorno > Same problem with revision 3920 > > As usually I first deleted all in trunk. Downloaded last svn revision, > execute ./reconf-all then ./configure -C > > Ubuntu 10.04 x86_64 > Trunk 3920 > Gnome > Kernel 2.6.32-32-generic > > what is the output of: pkg-config --debu

Re: [Gambas-user] About Raise Events

2011-07-04 Thread Demosthenes Koptsis
On Mon, 2011-07-04 at 11:26 +0200, Fabien Bodard wrote: > 2011/7/4 Demosthenes Koptsis : > > Hello, > > > > i have a class CCar with an event Run(). > > > > When i implement the object hCar in module Main > > i have to use Object.Attach to use the event handler for the event Run. > > > > At page ht

Re: [Gambas-user] About Raise Events

2011-07-04 Thread Fabien Bodard
2011/7/4 Demosthenes Koptsis : > Hello, > > i have a class CCar with an event Run(). > > When i implement the object hCar in module Main > i have to use Object.Attach to use the event handler for the event Run. > > At page http://gambasdoc.org/help/lang/eventdecl says > "By default, Name_EventName

Re: [Gambas-user] rev 3910 gb.sdl component is disable

2011-07-04 Thread Emanuele Sottocorno
Same problem with revision 3920 As usually I first deleted all in trunk. Downloaded last svn revision, execute ./reconf-all then ./configure -C Ubuntu 10.04 x86_64 Trunk 3920 Gnome Kernel 2.6.32-32-generic -- All of th

[Gambas-user] About Raise Events

2011-07-04 Thread Demosthenes Koptsis
Hello, i have a class CCar with an event Run(). When i implement the object hCar in module Main i have to use Object.Attach to use the event handler for the event Run. At page http://gambasdoc.org/help/lang/eventdecl says "By default, Name_EventName is the name of the method called in the event