BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-15-2007, 06:55 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: berlin, germany
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default push screen but don't close it

Please Login to Remove!

hi,
sometimes my application has to wait for an email-response. while it is waiting i want to show a new screen.

but if the user press the escape key he returns to the mainscreen. how can i block this action for my popupscreen?

thank hibbert
__________________
My English is so bad, that makes me nobody so quickly after
Offline  
Old 06-15-2007, 07:04 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

override the keyChar method for escape:

public boolean keyChar(char key, int status, int time) {
boolean retval = false;
switch (key) {
case Characters.ESCAPE:
//do nothing
break;
default:
retval = super.keyChar(key, status, time);
}
return retval;
}
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
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

Genuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 For 1815dn
$25.0
Genuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 For 1815dn  pictureGenuine OEM Dell 3200MP Osram Replacement Lamp & Housing 310-2328
$79.99
Genuine OEM Dell 3200MP Osram Replacement Lamp & Housing  310-2328 pictureOEM Dell Alienware M17X R2 Video Graphics Card GPU RV546 ATI 5870m 1GB 731MJ
$89.99
OEM Dell Alienware M17X R2 Video Graphics Card GPU RV546 ATI 5870m 1GB 731MJ  pictureGenuine, NEW Dell 3110cn, 3115cn Transfer Belt unit in Box Neo OEM
$199.95
Genuine, NEW Dell 3110cn, 3115cn Transfer Belt unit in Box Neo OEM pictureDell Inspiron N5040 OEM LCD Front Cover Bezel 0mr95c
$17.0
Dell Inspiron N5040 OEM LCD Front Cover Bezel 0mr95c picture






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