BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-20-2009, 05:55 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question key listener on menu

Please Login to Remove!

Hi,

all of the screens of my application intercept key event (i need that the user can't close some screen.

The problem is that if I open the screen menu and then press the key esc, the event is consumed for the menu and the screen is dismissed...

How can I listen for key event directly on menu?

Thank for help!
Offline  
Old 06-21-2009, 11:36 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

hi,

I solve the problem: I add a keylistener to my UiApplication and intercept the key that I need.

I hope this will be useful.

Regards
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.