BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-07-2009, 09:48 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ButtonField added after ObjectListField is inactive

Please Login to Remove!

Hi,

I am using the BB JDE 4.2.1. I had a screen with a button at the end, which used to work. The field listener for the button would kick in when the button is pressed. However, recently, I put up a ObjectListField items on top of the button. I implemented a navigationClick () for the ObjectFieldList items.

When I click the button now, the navigationClick seems to get activated with the selected index being the last item on the ObjectFieldList. The field listener for the button doesnt get the event.

Could you please let me know the cause for this?

Thanks.
Offline  
Old 02-08-2009, 09:47 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Sounds like you are eating a navigationClick() event that is meant for the button. Make sure that you only return "true" from navigationClick() for those events that you actually handle. Otherwise, you must return "false" to insure that the events are passed on to the next component.
Offline  
Old 03-25-2009, 12:11 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2008
Model: 8800
PIN: N/A
Carrier: Globe
Posts: 52
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

@Dougsg38p
I have the same problem as justanothauser. How can i determine the field that triggered the event in navigationClick()? Can you please provide a sample code?

@justanothauser
Were you already able to solve this problem of yours? may i ask how you did it?

Last edited by jacytan : 03-25-2009 at 12:13 AM.
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.