Re: [Gambas-user] Keyboard input help requested

2012-03-22 Thread Benoît Minisini
Le 22/03/2012 10:30, Cogier a écrit : > > Benoît, > > I am using Gambas 2.21 and tried the code below but I still get nothing when > pressing the keyboard, in fact the SUB does not seem to be called at all. > > What am I missing? > > Thanks, > > Charlie Ogier > > ' Gambas class file > > PUBLIC SUB

Re: [Gambas-user] Keyboard input help requested

2012-03-22 Thread François Gallo
Le 22/03/2012 10:30, Cogier a écrit : > Benoît, > > I am using Gambas 2.21 and tried the code below but I still get nothing when > pressing the keyboard, in fact the SUB does not seem to be called at all. > > What am I missing? > > Thanks, > > Charlie Ogier > > ' Gambas class file > > PUBLIC SUB Fo

Re: [Gambas-user] Keyboard input help requested

2012-03-22 Thread Cogier
Benoît, I am using Gambas 2.21 and tried the code below but I still get nothing when pressing the keyboard, in fact the SUB does not seem to be called at all. What am I missing? Thanks, Charlie Ogier ' Gambas class file PUBLIC SUB Form_Open() FMain.Show END PUBLIC SUB Application_KeyPress()

Re: [Gambas-user] Keyboard input help requested

2012-03-17 Thread Benoît Minisini
Le 17/03/2012 13:18, Cogier a écrit : > > Benoît, > > Thanks for the reply. I don't seem to understand how to use your advice. Can > you please provide a working example. > > Thanks for any assistance. > > Charlie Ogier > Les îles Anglo-Normandes > Let's suppose that your startup class is a module

Re: [Gambas-user] Keyboard input help requested

2012-03-17 Thread Cogier
Benoît, Thanks for the reply. I don't seem to understand how to use your advice. Can you please provide a working example. Thanks for any assistance. Charlie Ogier Les îles Anglo-Normandes Benoît Minisini wrote: > > Le 15/03/2012 14:21, Cogier a écrit : >> >> Rolf, >> >> Thanks for the repl

Re: [Gambas-user] Keyboard input help requested

2012-03-15 Thread Benoît Minisini
Le 15/03/2012 14:21, Cogier a écrit : > > Rolf, > > Thanks for the reply. Yes it does work in Linux and I can get it to work in > a TextBox but as you say it needs to be in focus and I think the program > will look silly if at the time of a scan the particular TextBox is not in > focus. I know ther

Re: [Gambas-user] Keyboard input help requested

2012-03-15 Thread Cogier
Rolf, Thanks for the reply. Yes it does work in Linux and I can get it to work in a TextBox but as you say it needs to be in focus and I think the program will look silly if at the time of a scan the particular TextBox is not in focus. I know there is a way to capture a single key press but I wan

Re: [Gambas-user] Keyboard input help requested

2012-03-15 Thread Rolf-Werner Eilert
Am 15.03.2012 10:12, schrieb Cogier: > > I have a barcode reader that will sent the result of a scan to any text > editor, or word processor as it emulates a keyboard. > > What I can't seem to do is get Gambas to read the string produced, it must > be similar to reading a file but all my efforts s

[Gambas-user] Keyboard input help requested

2012-03-15 Thread Cogier
I have a barcode reader that will sent the result of a scan to any text editor, or word processor as it emulates a keyboard. What I can't seem to do is get Gambas to read the string produced, it must be similar to reading a file but all my efforts so far have failed. Any help would be appreciat