BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-22-2007, 12:16 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2007
Location: chennai.india
Model: 8100
PIN: N/A
Carrier: airtel
Posts: 57
Post Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Why previous screen Menu pops up on next screen?

Please Login to Remove!

hi All

i pushing a new screen using
UiApplication.getUiApplication().pushScreen(new nextsscreen());
The problem is when application move from one screen to another screen if there is no menu specified on new screen, its get the menu from last screen and user just click close or some other option which is not appropriate on current screen and it mess up all the logic i delete all menu fields in privious screen my ncurrent screen will show the <EMPTYSCREEN> menu whats the problem it is how to solve this?
__________________
thanx n regards
jeyaprakash.c
Offline  
Old 11-22-2007, 01:22 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2007
Location: chennai.india
Model: 8100
PIN: N/A
Carrier: airtel
Posts: 57
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i find the reason for this problem i use buttonfield for every pushscreen i forgot to add consumeclick in buttonfield now its solved

ButtonField myButton = new ButtonField("click me", ButtonField.CONSUME_CLICK);
__________________
thanx n regards
jeyaprakash.c
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.