Re: [Gambas-user] Strange msq problem

2014-02-14 Thread Roel Touwen [prive]
I tried that but it isn't the solution. In the past I tried combining gambas2 and gambas3 on fedora 18. I had the same situation then but I blamed it on the combination of g2 and g3. Now I installed it on a clean fedora 20 machine and I experience the same. op 14-02-14 10:15, Fabien Bodard

Re: [Gambas-user] Strange msq problem

2014-02-14 Thread Fabien Bodard
When you say won't work.. does it crash ? Do you obtain the edit result object ? Is result.available is true Le 14 févr. 2014 10:20, Roel Touwen [prive] r...@touwtje.info a écrit : I tried that but it isn't the solution. In the past I tried combining gambas2 and gambas3 on fedora 18. I had

Re: [Gambas-user] Strange msq problem

2014-02-14 Thread Roel Touwen [prive]
Hi Fabien, Uptil the .update it works. I get the record, I can read the data and after setting the field it contains the new data. Strangest thing is that there is no error. The program assumes it has updated the record. But in the db the update is not performed. op 14-02-14 10:47, Fabien

Re: [Gambas-user] Strange msq problem

2014-02-14 Thread Bruce
On Fri, 2014-02-14 at 10:54 +0100, Roel Touwen [prive] wrote: Sql = relation = ' Main.RobotCust ' and robotID = Main.RobotID and rectype = 'TS' and subID = '' and sequencer = 0 After that line can you print (or debug) Sql. Don't know (because of email wrapping) but it looks kind of

[Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
I am adding a preference system to the WaveGenerator for the audio sink. It work for all sinks I try but one, the filesink. It is something like $hPlayer = New MediaPipeline $hAudio = New MediaControl($hPlayer, audiotestsrc) $hConv = New MediaControl($hPlayer, audioconvert) ' Set the

Re: [Gambas-user] Strange msq problem

2014-02-14 Thread Roel Touwen [prive]
Hi Bruce, That is indeed from the email-wrapping. That part works fine. I get the data from the database. The Sql what is sent to MySql is: *relation = '9123' and robotID = 1 and rectype = 'TS' and subID = '' and sequencer = 0* But, as said, that part works. op 14-02-14 11:23, Bruce

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Fri, 14 Feb 2014 11:51:08 +0100, Dominique Michel dominique.mic...@vtxnet.ch a écrit : I am adding a preference system to the WaveGenerator for the audio sink. It work for all sinks I try but one, the filesink. It is something like $hPlayer = New MediaPipeline $hAudio = New

[Gambas-user] Translate project into like Korean

2014-02-14 Thread Tobias Boege
Hi, Hans noticed when he wanted to translate his project into Korean (I don't know why he does that because neither of us knows Korean) that not the actual letters are printed on the GUI but the hexadecimal codes of the letters. He supposed that he may have to install some Korean language

[Gambas-user] Moving elements in ListView

2014-02-14 Thread Tobias Boege
Hi all, can someone please help me moving elements in a ListView or tell me that's impossible? I have tried the same three things or so for the last hour and always thought this time it's gonna work! but it didn't... Say I have a list of four elements (#0..#3) and want to move #1 to position #2

Re: [Gambas-user] Translate project into like Korean

2014-02-14 Thread Benoît Minisini
Le 14/02/2014 16:49, Tobias Boege a écrit : Hi, Hans noticed when he wanted to translate his project into Korean (I don't know why he does that because neither of us knows Korean) that not the actual letters are printed on the GUI but the hexadecimal codes of the letters. He supposed that

Re: [Gambas-user] CheckBox

2014-02-14 Thread Benoît Minisini
Le 12/02/2014 18:56, Matti a écrit : Why doesn't have the CheckBox a 'Change' event? Would be very handy to use in an action group with other controls, to catch if the user made changes. Now, the 'Click' events for CheckBoxes have to be handled separately. Regards Matti I don't

Re: [Gambas-user] gb.gsl: pseudo-complex Vectors make different cross product

2014-02-14 Thread Benoît Minisini
Le 11/02/2014 21:15, Tobias Boege a écrit : Hi Benoit, a strange thing this time. Using gb.gsl, we noticed that there is a way to compute the cross product of two Vector objects in complex mode - but without any complex numbers in them - which yields a different result than other methods to

Re: [Gambas-user] gb.gsl: pseudo-complex Vectors make different cross product

2014-02-14 Thread Tobias Boege
On Fri, 14 Feb 2014, Beno?t Minisini wrote: Le 11/02/2014 21:15, Tobias Boege a ?crit : Hi Benoit, a strange thing this time. Using gb.gsl, we noticed that there is a way to compute the cross product of two Vector objects in complex mode - but without any complex numbers in them - which

[Gambas-user] Class editor toolbar keyboard shortcuts?

2014-02-14 Thread Stephen
Being able to comment and uncomment large blocks of selected code is a wonderful thing, being able to do it without having to mouse up to the editor tool bar would be even more so. Is there keyboard shortcut to perform the aforementioned function? -- Kindest Regards Stephen A. Bungay,

Re: [Gambas-user] Moving elements in ListView

2014-02-14 Thread Bruce
On Fri, 2014-02-14 at 17:01 +0100, Tobias Boege wrote: Hi all, can someone please help me moving elements in a ListView or tell me that's impossible? I have tried the same three things or so for the last hour and always thought this time it's gonna work! but it didn't... Say I have a list

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Fri, 14 Feb 2014 19:37:53 +0100, Fabien Bodard gambas...@gmail.com a écrit : and ? it's? It's to add $hOutput[location] = wavegenerator.flac $hPlayer = New MediaPipeline $hAudio = New MediaControl($hPlayer, audiotestsrc) $hConv = New MediaControl($hPlayer, flacenc) $hOutput = New

[Gambas-user] [Gambas-User] StarField Example

2014-02-14 Thread Paul Horechuk
Could someone please explain the program flow for the Examples/Games/Starfield project? I've stepped through the code after setting a breakpoint. The screen_draw procedure executes immediately following the Public Sub Main() procedure when it finishes. What triggers the Public Sub screen_draw

Re: [Gambas-user] [Gambas-User] StarField Example

2014-02-14 Thread Benoît Minisini
Le 14/02/2014 23:01, Paul Horechuk a écrit : Could someone please explain the program flow for the Examples/Games/Starfield project? I've stepped through the code after setting a breakpoint. The screen_draw procedure executes immediately following the Public Sub Main() procedure when it

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Fri, 14 Feb 2014 23:42:51 +0100, Dominique Michel dominique.mic...@vtxnet.ch a écrit : Le Fri, 14 Feb 2014 19:37:53 +0100, Fabien Bodard gambas...@gmail.com a écrit : and ? it's? It's to add $hOutput[location] = wavegenerator.flac $hPlayer = New MediaPipeline $hAudio =

Re: [Gambas-user] gb.gsl: pseudo-complex Vectors make different cross product

2014-02-14 Thread Tobias Boege
On Fri, 14 Feb 2014, Beno?t Minisini wrote: Le 11/02/2014 21:15, Tobias Boege a ?crit : Hi Benoit, a strange thing this time. Using gb.gsl, we noticed that there is a way to compute the cross product of two Vector objects in complex mode - but without any complex numbers in them - which

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Sat, 15 Feb 2014 00:38:43 +0100, Dominique Michel dominique.mic...@vtxnet.ch a écrit : Le Fri, 14 Feb 2014 23:42:51 +0100, Dominique Michel dominique.mic...@vtxnet.ch a écrit : Le Fri, 14 Feb 2014 19:37:53 +0100, Fabien Bodard gambas...@gmail.com a écrit : and ? it's? It's

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Benoît Minisini
Le 15/02/2014 02:23, Dominique Michel a écrit : That solve the duration issue with mplayer and alsaplayer: $hAudio[is-live] = 1 but not the 0 length file issue. That solve it only partly. Both players play it with the wanted duration, but they display a file length of 0 seconde. I

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Tobias Boege
On Sat, 15 Feb 2014, Beno?t Minisini wrote: Le 15/02/2014 02:23, Dominique Michel a ?crit : That solve the duration issue with mplayer and alsaplayer: $hAudio[is-live] = 1 but not the 0 length file issue. That solve it only partly. Both players play it with the wanted duration,

[Gambas-user] ComboBox: Detect if the button was clicked

2014-02-14 Thread Bruce
I have tried a couple of ways to determine if the user has clicked on the button that opens the list in a combobox with no great success. (I am trying to discern whether they selected a list item or typed a new string in the textbox.) It looks like I have to use the Mouse.X and Mouse.Y values to

Re: [Gambas-user] media component syntax and the gstreamer filesink

2014-02-14 Thread Dominique Michel
Le Sat, 15 Feb 2014 02:49:14 +0100, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 15/02/2014 02:23, Dominique Michel a écrit : That solve the duration issue with mplayer and alsaplayer: $hAudio[is-live] = 1 but not the 0 length file issue. That solve it only partly.

Re: [Gambas-user] Bug in WaveGenerator 3.5.90

2014-02-14 Thread Dominique Michel
Le Wed, 12 Feb 2014 20:19:31 +0100, Dominique Michel dominique.mic...@vtxnet.ch a écrit : In gnome-media, it is gstreamer-properties that can be used to setup the default audio and video sinks. On my system, gconf is not installed, but it create the keys in ~/.config/gconf and is able to use them