Re: Intercept TAB key

new topic     » goto parent     » topic index » view thread      » older message » newer message
lpuster said...

I am using Win32Lib and Euphoria 3.1.1. While typing in an EditText or MleEdit control, the tab key inserts a tab code (9) into the text. I want to intercept the keystroke and setFocus to the next field instead. w32HKeyDown almost works, but the tab key has already placed the code in the text! Documentation seems to say that returnValue(-1) will "cause the application to ignore the keystroke" but the code goes into the text anyway.

The trick of using returnValue(-1) only works for the w32HKeyPress handler. It does not work for the w32HKeyDown handler.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu