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

ON SEMICONDUCTOR NUP2105LT1G TVS DIODE ARRAY 350W 24V SOT-23
$5.85
ON SEMICONDUCTOR NUP2105LT1G TVS DIODE ARRAY 350W 24V SOT-23 pictureLot of 3 or 1Bussmann 170M3464 semiconductor protection fuse 160A 690V 1*BKN/50
$300.0
Lot of 3 or 1Bussmann 170M3464 semiconductor protection fuse 160A 690V 1*BKN/50  pictureDSP56001RC20 Original Motorola Semiconductor
$14.99
DSP56001RC20 Original Motorola Semiconductor  picture1PC Bussmann 12LCT Fast Acting, Bolt-Down, Semiconductor Fuse, 12A 240V #QF13 ZX
$15.99
1PC Bussmann 12LCT Fast Acting, Bolt-Down, Semiconductor Fuse, 12A 240V #QF13 ZX picture1PCS Bussmann 6LCT 6Amp, 240VAC BS88:4, Fast Acting Semiconductor Fuse #QF11 ZX
$15.99
1PCS Bussmann 6LCT 6Amp, 240VAC BS88:4, Fast Acting Semiconductor Fuse #QF11 ZX picture






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