BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 12-21-2009, 05:30 AM   #1 (permalink)
New Member
 
Join Date: Nov 2009
Model: 8310
PIN: N/A
Carrier: zain
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to scroll the ListField to the selected index

Please Login to Remove!

Hi,
I have a simple question but unfortunately I couldn't do it until now.

I change the selected index of the ListField before show it by using ListField.setSelectedIndex( index );

the index refer to invisible row, my problem is the list doesn't scroll to show this invisible row it keeps drawing the list from row 0 as normal.
Offline  
Old 01-06-2010, 09:44 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

try by using invalidate() and updateDisplay().

or just delete the list from screen and again initilise , set selected index and insert to same position at which is was.
__________________
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

BOONTON ELECTRONICS Manual 91K & 91KR High Impedance RF Millivoltmeter
$25.0
BOONTON ELECTRONICS Manual 91K & 91KR High Impedance RF Millivoltmeter pictureBiopac BSLCBL8 High Impedance Cable
$74.99
Biopac BSLCBL8 High Impedance Cable pictureFluke 845A & 845AB High Impedance Voltmeter Null Detector Manual
$19.95
Fluke 845A & 845AB High Impedance Voltmeter Null Detector Manual pictureETRI 126LF, 126LF0182000 Impedance Protect Fan (115V, 50/60Hz, 10/8W, 130/100mA)
$25.0
ETRI 126LF, 126LF0182000 Impedance Protect Fan (115V, 50/60Hz, 10/8W, 130/100mA) pictureCOPPER FOIL SHIELDING TAPE 6MM x 20M LOW IMPEDANCE CONDUCTIVE ADHESIVE
$2.19
COPPER FOIL SHIELDING TAPE 6MM x 20M LOW IMPEDANCE CONDUCTIVE ADHESIVE picture






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