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
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
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()
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
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
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
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
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
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