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


Fluke Networks Versiv Modular Mainframe AS IS picture

Fluke Networks Versiv Modular Mainframe AS IS

$900.00



Used National Instruments SCXI-1000 Mainframe 1200 1120 1160(2) 181445D-01 U2 picture

Used National Instruments SCXI-1000 Mainframe 1200 1120 1160(2) 181445D-01 U2

$299.95



Integrated Circuit IC Tester LCD Digital Display Multi-functional Integrated picture

Integrated Circuit IC Tester LCD Digital Display Multi-functional Integrated

$59.67



Agilent Keysight N3300A Electronic Load Mainframe *Parts Only- No Power* picture

Agilent Keysight N3300A Electronic Load Mainframe *Parts Only- No Power*

$275.00



National Instruments NI PXI-1044 Chassis 14-Slot PXI Mainframe 189105E-01 Rev 01 picture

National Instruments NI PXI-1044 Chassis 14-Slot PXI Mainframe 189105E-01 Rev 01

$199.99



Chroma 6312 DC Electronic Load Mainframe  picture

Chroma 6312 DC Electronic Load Mainframe

$239.96







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