Re: [Gambas-user] Playing MIDI file by using gb.SDL2.audio - BIS

2014-12-31 Thread Ru Vuott
Yes, it works. Regards vuott Mer 31/12/14, Benoît Minisini ha scritto: Oggetto: Re: [Gambas-user] Playing MIDI file by using gb.SDL2.audio - BIS A: "mailing list for gambas users" Data: Mercoledì 31 dicembre 2014, 02:20 Le 31/12/2014 00:52,

Re: [Gambas-user] Before Delete Event

2014-12-31 Thread Charlie Reinl
Am Mittwoch, den 31.12.2014, 02:50 -0200 schrieb Christian e Ana Luiza Britto: > Hi Folks, > First I would like to wish to you all a Happy New Year! > After that, I would like to know how to use the DataSource Before > Delete event to verify if a record can be deleted or not. If not the > record ca

[Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Ru Vuott
Hello, I'm continuing to test the resources of the component "gb.sdl2.sound", and I do not understand how setting the values of Music.Volume property. /SDL2/SDL_mixer.h documentation tells about volume in the range of 0-128... but I saw "Music.Volume" doesn't work with these values range. So,

Re: [Gambas-user] Fit Form to PictureBox

2014-12-31 Thread Gian
Il 31/12/2014 01:25, Tobias Boege ha scritto: > Hi, > > I'm trying to have FMain automatically adjust its size according to its sole > (for demonstration) child control PictureBox1. The PictureBox1 itself is > AutoResize = True and gets a big Picture. (Attached is a little project.) > > What happen

Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Charlie
Where did you get the "gb.sdl2.sound" and "/SDL2/SDL_mixer.h" as I can find no reference to these anywhere? -- View this message in context: http://gambas.8142.n7.nabble.com/What-values-for-Music-Volume-of-gb-sdl2-sound-tp49958p49960.html Sent from the gambas-user mailing list archive at Nabble

Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 13:31, Ru Vuott a écrit : > Hello, > > I'm continuing to test the resources of the component "gb.sdl2.sound", and I > do not understand how setting the values of Music.Volume property. > > /SDL2/SDL_mixer.h documentation tells about volume in the range of 0-128... > but I saw "Musi

[Gambas-user] Circular references with latest revision

2014-12-31 Thread Jussi Lahtinen
One of my projects reports circular references when shutdown, but it works perfectly. I haven't get these messages with earlier revisions (not sure from what revision this started exactly). Part of the messages: gbx3: 1 GridViewSelection gbx3: 1 _TreeView_Item gbx3: 1 _GridView_Rows gb

[Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
Any tools or suggestions how to make easily call/flow graph from Gambas project? Jussi -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot

Re: [Gambas-user] Fit Form to PictureBox

2014-12-31 Thread Tobias Boege
On Wed, 31 Dec 2014, Gian wrote: > Il 31/12/2014 01:25, Tobias Boege ha scritto: > > Hi, > > > > I'm trying to have FMain automatically adjust its size according to its sole > > (for demonstration) child control PictureBox1. The PictureBox1 itself is > > AutoResize = True and gets a big Picture. (A

Re: [Gambas-user] Fit Form to PictureBox

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 15:30, Tobias Boege a écrit : > On Wed, 31 Dec 2014, Gian wrote: >> Il 31/12/2014 01:25, Tobias Boege ha scritto: >>> Hi, >>> >>> I'm trying to have FMain automatically adjust its size according to its sole >>> (for demonstration) child control PictureBox1. The PictureBox1 itself is >

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Tobias Boege
On Wed, 31 Dec 2014, Jussi Lahtinen wrote: > Any tools or suggestions how to make easily call/flow graph from Gambas > project? > I thought about this a few days ago :-) I would imagine, given a path sPath to a project directory, you can do Exec ["gbc3" "-av", sPath] To sOutput then parse sOu

Re: [Gambas-user] Fit Form to PictureBox

2014-12-31 Thread Gian
Il 31/12/2014 15:30, Tobias Boege ha scritto: > On Wed, 31 Dec 2014, Gian wrote: >> Il 31/12/2014 01:25, Tobias Boege ha scritto: >>> Hi, >>> >>> I'm trying to have FMain automatically adjust its size according to its sole >>> (for demonstration) child control PictureBox1. The PictureBox1 itself is

Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Ru Vuott
opsss... excuse me, Charlie, -> gb.sdl2.audio Regards vuott Mer 31/12/14, Charlie ha scritto: Oggetto: Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ? A: gambas-user@lists.sourceforge.net Data: Mercoledì 31 dicembre 2014, 14:1

Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Ru Vuott
Yes, now Volume property works. Its range seems 0 - 100. Isn't it ? Mer 31/12/14, Benoît Minisini ha scritto: Oggetto: Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ? A: "mailing list for gambas users" Data: Mercoledì 31 dice

Re: [Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 16:09, Ru Vuott a écrit : > Yes, now Volume property works. Its range seems 0 - 100. Isn't it ? > 0 up to the Sound.MaxVolume constant. -- Benoît Minisini -- Dive into the World of Parallel Programming!

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
Thanks! I will look this. Jussi On Wed, Dec 31, 2014 at 4:37 PM, Tobias Boege wrote: > On Wed, 31 Dec 2014, Jussi Lahtinen wrote: > > Any tools or suggestions how to make easily call/flow graph from Gambas > > project? > > > > I thought about this a few days ago :-) I would imagine, given a pa

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
Hmmm... maybe not so trivial task. I wonder if there is method to distinguish native function calls (without listing them all). Also there aren't always just "PUSH FUNCTION", but also "PUSH UNKNOWN" which may refer to variable or to function. What x presents in "CALL (x)" ? Jussi On Wed, Dec 31

Re: [Gambas-user] Before Delete Event (Christian e Ana Luiza Britto)

2014-12-31 Thread Christian e Ana Luiza Britto
Hi Lee, Thank you so much! You gave me exactly what I needed. I wish a Happy New Year for you, Best regards, Christian -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and develop

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 17:29, Jussi Lahtinen a écrit : > Hmmm... maybe not so trivial task. > I wonder if there is method to distinguish native function calls (without > listing them all). Also there aren't always just "PUSH FUNCTION", but also > "PUSH UNKNOWN" which may refer to variable or to function. >

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
> I don't think it's a good idea to rely on undocumented compiler > debugging features. :-) > > And what about event handlers and method calls that are entirely solved > at runtime. How can you make a graph from that? > No idea... thanks for saving my time. Better ideas? Jussi --

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 18:19, Jussi Lahtinen a écrit : >> I don't think it's a good idea to rely on undocumented compiler >> debugging features. :-) >> >> And what about event handlers and method calls that are entirely solved >> at runtime. How can you make a graph from that? >> > > No idea... thanks for s

Re: [Gambas-user] Communicating to hosted forms...

2014-12-31 Thread Tobias Boege
On Tue, 30 Dec 2014, Charlie Reinl wrote: > Am Dienstag, den 30.12.2014, 16:45 +0100 schrieb Tobias Boege: > > On Tue, 30 Dec 2014, Charlie Reinl wrote: > > > Am Dienstag, den 30.12.2014, 07:27 -0500 schrieb Stephen: > > > > Attached is a test harness that tries to implement the following. > > > >

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
> Not really. What exactly do you want to achieve? What for? > I try to make a call/flow graph of program to ease the understanding of the code someone else have written (and to help detect and correct bad program structure [design]). Jussi --

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Fabien Bodard
It look like to my old uml dream. Understand a program structure and then see the calling stream. (Who call what and how many time... Thank to the tool now existing for that part) Le 31 déc. 2014 19:35, "Jussi Lahtinen" a écrit : > > Not really. What exactly do you want to achieve? What for? > >

[Gambas-user] DataSource Before Save

2014-12-31 Thread Christian e Ana Luiza Britto
Hi Folks, Happy New Year for everyone! I would like to know if it's possible to use DataSource BeforeSave event to check data before it gets saved and cancel that if necessary (using Stop Event or something like that). It's possible to check data validation through database triggers, but I would li