Hi,
i want to handle a key event of a textfield on my own and hinder the
textfield to handle it too. When the key event occurs I want to set a
text string in the textfield and mark a part of it as selected.
It works somehow with the key events "down" and "up", but not with the
key events "pagedown" and "pageup". When pressed "pagedown" or "pageup"
the text string is set, but there is nothing marked as selected and the
cursor is either set to the right or left of the text string.
I tried to call stopPropagation() and preventDefault() on the key event,
but nothing happens.
How can I handle this?
See example file in attachment.
Dunja
Title: KeyEventDemo
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel