Why my key are not tested ?
BlitzMax Forums/BlitzMax Programming/Why my key are not tested ?
| ||
Hi Why my f... KEY_ENTER is not tested ??? Try to change this line : If event.data=KEY_UP Then by this line : If event.data=KEY_ENTER Then But the program made nothing ??? why ??? |
| ||
Because Key_enter has an internal importance on textfields and textareas (-> line break) and thus don't fire an event. (there are some other keys that behave similar) |
| ||
And there is absolutely no solution ????? because i want test the return key from a textfield url for an internal web browser. |
| ||
No not unless you modify the underlying C sources or skid decides to change that. (think there was a thread on that, just can't remember in which board.) |
| ||
Arghh! !! many thanks Dreamora... :) |
| ||
I'm sorry. I've to correct myself. Return only does not fire event on TextField. BUT it works on textarea at least on the Filter, so you might try to use that for a similar solution (as you can fully surpress linebreaks by the filter) |