BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-01-2009, 04:44 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2007
Location: India
Model: 8100
Carrier: Airtel
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default problem in scrolling listfield in 9530

Please Login to Remove!

Hi All,
I am developing an application which has listfield in it.
when user clicks the one of the list item it will show corresponding details.

My problem is that I am not able to scroll the list.
can ny body tell me how can i scroll he list without encountering selection method.

Thanks
__________________
Crazy for BlackBerry
Offline  
Old 10-26-2009, 09:26 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2007
Location: India
Model: 8100
Carrier: Airtel
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default scroll in list

It is preffered not to handle the touchevent of listField in the manager's touchevent..

Just place super.touchEvent() when the field equals to listField. This will automatically scrolls the list and even if you touch the screen also does the changes that you want.

More over dont override touch venet in the listfield.

if you override then in that function mention return super.touchEvent()

This will work
__________________
Crazy for BlackBerry
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.