to add keyboard event listener
objectId can be TabNav/ dataGrid etc..
objectId.addEventListener( KeyboardEvent.KEY_DOWN, onKeyDown );
private function onKeyDown( event:KeyboardEvent ):void
if (event.keyCode == Keyboard.ESCAPE)// Keyboard.ESCAPE, Keyboard.F1, .... Keyboard.F12
// next logic here....
Your subject line is bit confusing...
thanks for the reply
want to know the keyevents in flex whether button, arrow ect..
See the public constants on this page:
This will help you understand capturing keyboard events better:
If this post answers your question or helps, please mark it as such.
can u let me know about key board events in flex
how to give the event for button when i fill the form and when i press enter key word
the values should be stored
how to write button key board events in flex
thanks in advance