BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-20-2009, 04:55 AM   #1
egirotto
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
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, 10:36 AM   #2
egirotto
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


2711-NM11 PCMCIA Linear Flash Memory Card 256KB Fast Shipping AB 2711NM11 picture

2711-NM11 PCMCIA Linear Flash Memory Card 256KB Fast Shipping AB 2711NM11

$350.66



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$291.74



Allen Bradley 5069-L340ER CompactLogix 4 MB User Memory Controller picture

Allen Bradley 5069-L340ER CompactLogix 4 MB User Memory Controller

$2000.00



Kitchen Brain Fast Z080120HFC Digital Timer, 8-Timers, Memory, 120V Fast 81308 picture

Kitchen Brain Fast Z080120HFC Digital Timer, 8-Timers, Memory, 120V Fast 81308

$175.00



Allen-Bradley 1764-MM2 MicroLogix Memory Module Ser.A picture

Allen-Bradley 1764-MM2 MicroLogix Memory Module Ser.A

$223.63



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$286.59







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