onKey() with KEY_ESC

Former Member
Former Member
Hi!

I creating widget and I want to process KEY_ESC event key. But when I press KEY_ESC on simulator, widget turn off.
But just have a widget with nesting level where the button does not close the widget, and only goes to the 1 level up.