Re: [Gambas-user] Language

2014-12-30 Thread Wolfgang, dl7nb
Am 29.12.2014 um 20:15 schrieb Gian: Il 29/12/2014 19:57, Benoît Minisini ha scritto: Le 29/12/2014 19:48, martin p cristia a écrit : I have a similar problem with the language. The program has been done in spanish, and so far its been translated to en_US. How can a german user run it in

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

2014-12-30 Thread Stephen
Attached is a test harness that tries to implement the following. FormMain hosts two other forms (Form1 and Form2) within two frames (Frame1 and Frame2). On each of these hosted forms there are two text boxes and a button. Pressing the button on either of the hosted forms raises an event

[Gambas-user] Gambas translator behaviour (expected or bug?)

2014-12-30 Thread Willy Raets
Hi all, I was wondering next about the Gambas translator: When importing .po files send to me by a translator, only the empty strings get imported. If a translator has changed a earlier translated string to a more correct translation these modified strings do NOT get imported because there is

[Gambas-user] Keyboard shortcuts for translator tool

2014-12-30 Thread Jørn Erik Mørne
It would be super efficient to have the ability to use keyboard shortcuts in the translator tool. Having to click the toolbuttons is very time consuming. The shortcuts should work from the editor, so they must not interfere with defined shortcuts like Ctrl+C. PageUP/Down would be nice for going

Re: [Gambas-user] Keyboard shortcuts for translator tool

2014-12-30 Thread Benoît Minisini
Le 30/12/2014 15:13, Jørn Erik Mørne a écrit : It would be super efficient to have the ability to use keyboard shortcuts in the translator tool. Having to click the toolbuttons is very time consuming. The shortcuts should work from the editor, so they must not interfere with defined shortcuts

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

2014-12-30 Thread Charlie Reinl
Am Dienstag, den 30.12.2014, 07:27 -0500 schrieb Stephen: Attached is a test harness that tries to implement the following. FormMain hosts two other forms (Form1 and Form2) within two frames (Frame1 and Frame2). On each of these hosted forms there are two text boxes and a button.

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

2014-12-30 Thread 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. FormMain hosts two other forms (Form1 and Form2) within two frames (Frame1 and Frame2). On each of these hosted forms

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

2014-12-30 Thread Charlie Reinl
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. FormMain hosts two other forms (Form1 and Form2)

[Gambas-user] Language [continued]

2014-12-30 Thread Wolfgang, dl7nb
I have translated all my texts to English(UK) which gives me the files en_GB.mo en_GB.po $locale -a tell me that I have en_GB.utf8 installed. Here is my _init() Static Public Sub _init() System.Language = en_GB.utf8 End When I start the

Re: [Gambas-user] Language [continued]...and solved

2014-12-30 Thread Wolfgang, dl7nb
Am 30.12.2014 um 18:02 schrieb Wolfgang, dl7nb: I have translated all my texts to English(UK) which gives me the files en_GB.mo en_GB.po $locale -a tell me that I have en_GB.utf8 installed. Here is my _init() Static Public Sub _init()

Re: [Gambas-user] Keyboard shortcuts for translator tool

2014-12-30 Thread Jørn Erik Mørne
Den 30. des. 2014 15:24, skrev Benoît Minisini: Le 30/12/2014 15:13, Jørn Erik Mørne a écrit : It would be super efficient to have the ability to use keyboard shortcuts in the translator tool. Having to click the toolbuttons is very time consuming. The shortcuts should work from the editor,

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

2014-12-30 Thread Ru Vuott
Hi, with rev. 6779 I saw the new resource to play audio files. Well, I would point out that, we can allow the execution also Midi files, but it is necessary to implement the Class Music function Mix_SetSoundFonts (const char * paths); (from file header: SDL_mixer.h) * Next set

Re: [Gambas-user] Gambas translator behaviour (expected or bug?)

2014-12-30 Thread Benoît Minisini
Le 30/12/2014 14:57, Willy Raets a écrit : Hi all, I was wondering next about the Gambas translator: When importing .po files send to me by a translator, only the empty strings get imported. If a translator has changed a earlier translated string to a more correct translation these modified

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

2014-12-30 Thread Benoît Minisini
Le 30/12/2014 20:21, Ru Vuott a écrit : Hi, with rev. 6779 I saw the new resource to play audio files. Well, I would point out that, we can allow the execution also Midi files, but it is necessary to implement the Class Music function Mix_SetSoundFonts (const char * paths); (from

Re: [Gambas-user] Gambas translator behaviour (expected or bug?)

2014-12-30 Thread Willy Raets
On di, 2014-12-30 at 23:04 +0100, Benoît Minisini wrote: Le 30/12/2014 14:57, Willy Raets a écrit : Hi all, I was wondering next about the Gambas translator: When importing .po files send to me by a translator, only the empty strings get imported. If a translator has changed a earlier

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

2014-12-30 Thread Benoît Minisini
Le 30/12/2014 23:12, Benoît Minisini a écrit : Le 30/12/2014 20:21, Ru Vuott a écrit : Hi, with rev. 6779 I saw the new resource to play audio files. Well, I would point out that, we can allow the execution also Midi files, but it is necessary to implement the Class Music function

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

2014-12-30 Thread Ru Vuott
Hello Benoît, ehmmm.. excuse me, ... my lapsus. Obviously, the header file is SDL_mixer '' ( NOT SDL2_mixer like i wrote !) Its path: /usr/include/SDL2/SDL_mixer.h I confirm the function: extern DECLSPEC int SDLCALL Mix_SetSoundFonts(const char *paths); Found at line 609 in that header

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

2014-12-30 Thread Ru Vuott
Hi Benoît, I send attached a file C, it's able to play Midi file. It has the function: Mix_SetSoundFonts(...) (Usage simply: ~ $ SDL2_Play_Midi Midi file Regards vuott Mar 30/12/14, Benoît Minisini gam...@users.sourceforge.net ha scritto:

[Gambas-user] Fit Form to PictureBox

2014-12-30 Thread Tobias Boege
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 happens is that PictureBox1 resizes accordingly, so I thought I

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

2014-12-30 Thread Benoît Minisini
Le 31/12/2014 00:52, Ru Vuott a écrit : Hello, here attached a screenshot of header file /SDL2/SDL_Mixer, where it's possible to see the function Mix_SetSoundFonts(const char * paths); Regards vuott Thanks, I got it and implemented it in revision #6780. Regards, -- Benoît Minisini

Re: [Gambas-user] Clear do not work in gb.settings

2014-12-30 Thread Benoît Minisini
Le 24/12/2014 14:59, Charlie Reinl a écrit : Salut Benoît, Clear do not work in gb.settings ' create and save it hSettings[Charlie/Login] = ToTo hSettings.Save() ' clear and save it hSettings.Clear(Charlie/Login) ' don't work, not found hSettings.Save() ' clear and

[Gambas-user] Before Delete Event

2014-12-30 Thread 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 cannot be deleted the program must keep the record intact. Best Regards, Christian

Re: [Gambas-user] Before Delete Event

2014-12-30 Thread T Lee Davidson
On 12/30/2014 11:50 PM, Christian e Ana Luiza Britto wrote: 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 cannot be deleted the