Hi,

I'm working on a shoes app that scans barcodes. The barcode reader
exposes itself as a keyboard interface, so it basically types in
characters that I intercept using keypress in shoes.

At some point though, I need to enter data on the page (using edit_line).

As soon as the edit_line has the focus, there's no way to unfocus it
(so my keyboard intercepter doesn't work anymore).

Is there a way to remove the focus or to indicate keystrokes should be
intercepted by the page again ?

(A work-around would be to use a dummy input box that keeps the
barcode reading busy).

any idea will be most welcome,

cheers,

Thibaut

Reply via email to