BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-01-2009, 03: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, 08: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  




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