Intercept TAB key
- Posted by lpuster Sep 19, 2011
- 1302 views
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.