[Gambas-user] Gambas and internal functions

2011-07-13 Thread tobias
hi, when i call a gambas function that is not in any component, e.g. Abs(), what is called internally? i'm currently studying the interpreter internals but didn't come far enough yet to figure that out by myself (i focused on the gambas api first). may it be these "subr" files? is there a cent

Re: [Gambas-user] gb3: gb.sdl: playing music versus playing a sound

2011-07-13 Thread Kevin Fishburne
On 07/13/2011 05:41 AM, Kevin Fishburne wrote: > I noticed that when playing music only one track is played at once by > default. Is this a limitation of music or can channels be specified for > playing music while still controlling the volume along the way (as per > the "music" versus "sound" choi

Re: [Gambas-user] Desktop.SendKeys

2011-07-13 Thread tobias
> X11 found funny to recently change the case of the keys. They were uppercase, > now they use a mix of uppercase and lowercase. Very funny. > > So now try: > > Desktop.SendKeys("{[Control_L]c}") it works! these are the kinds of errors that make me very tired... > Otherwise, are you replyi

Re: [Gambas-user] Gambas for Android

2011-07-13 Thread Demosthenes Koptsis
see here http://labs.qt.nokia.com/2011/02/28/necessitas/ On Wed, 2011-07-13 at 11:44 -0400, Rob wrote: > On Wednesday 13 July 2011 05:27, Iggy Budiman wrote: > > Android doesn't use X windows, no GTK nor QT. > > Maybe You can compile it for text mode only, compile it for Arm, but > > with no gra

Re: [Gambas-user] Gambas for Android

2011-07-13 Thread Rob
On Wednesday 13 July 2011 05:27, Iggy Budiman wrote: > Android doesn't use X windows, no GTK nor QT. > Maybe You can compile it for text mode only, compile it for Arm, but > with no graphic. Someone has ported Qt to Android. I don't know how many X-specific hacks there are in Gambas, but someone

[Gambas-user] gb3: gb.sdl: playing music versus playing a sound

2011-07-13 Thread Kevin Fishburne
I noticed that when playing music only one track is played at once by default. Is this a limitation of music or can channels be specified for playing music while still controlling the volume along the way (as per the "music" versus "sound" choice). Playing sounds is great, but the need exists f

Re: [Gambas-user] Gambas for Android

2011-07-13 Thread Iggy Budiman
Android doesn't use X windows, no GTK nor QT. Maybe You can compile it for text mode only, compile it for Arm, but with no graphic. I guess gambas won't do so much on Android. But in MeeGo it has a lot possibility. I can run in MeeGo 1.2 for netbooks (x86). But expectancy is high to compile it fo

Re: [Gambas-user] gb3: retrieving channel value from pixel color

2011-07-13 Thread Kevin Fishburne
On 07/13/2011 03:25 AM, Fabien Bodard wrote: > http://gambasdoc.org/help/comp/gb.image?v3 > > > hum ok i've understand the way it work > > > Dim redvalue as Integer > redvalue = color[SomeImage[0,0]].red > > > not easy to find that in the doc ... in fact it's the class color that > return a colorin

Re: [Gambas-user] gb3: retrieving channel value from pixel color

2011-07-13 Thread Fabien Bodard
http://gambasdoc.org/help/comp/gb.image?v3 hum ok i've understand the way it work Dim redvalue as Integer redvalue = color[SomeImage[0,0]].red not easy to find that in the doc ... in fact it's the class color that return a colorinfo. http://gambasdoc.org/help/comp/gb.image/color/_get?v3 Be

Re: [Gambas-user] gb.Case

2011-07-13 Thread Fabien Bodard
2011/7/13 richard terry : > On Wednesday 13 July 2011 08:17:39 Benoît Minisini wrote: >> > hi, >> > >> > while the doc says that there is a constant gb.Case, the interpreter >> > tells me that there is no symbol "Case" within gb. >> > gb.Text works well instead. but either the doc or the interprete

Re: [Gambas-user] ListBox Mode Property

2011-07-13 Thread Ricardo Díaz Martín
Andrea, As far as I know this is not possible. You can do something like: For i = 0 To ListWithMultipleRowsSelected.Rows.Count - 1 If ListWithMultipleRowsSelected.Rows[i].Selected Then 'you got it Endif Next Regards, Ricardo Díaz 2011/7/13 Andrea Bertini > If i set the mode p