Re: [Gambas-user] How to catch a bar-code "Enter"

2014-10-08 Thread Benoît Minisini
Le 08/10/2014 20:43, Charlie a écrit : > When reading bar-codes the gun adds an "Enter" at the end. In a spreadsheet > if the focus was on cell A1 once the bar-code is read the focus will be in > cell A2 as if "Enter" had been pressed. > > In Gambas using gb.gtk toolkit this works: - > > > Cat

[Gambas-user] How to catch a bar-code "Enter"

2014-10-08 Thread Charlie
When reading bar-codes the gun adds an "Enter" at the end. In a spreadsheet if the focus was on cell A1 once the bar-code is read the focus will be in cell A2 as if "Enter" had been pressed. In Gambas using gb.gtk toolkit this works: - CatchBarcodeEnter = Key.Code If Key.Code = Key.Enter Or