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

(1PCS) IXTQ130N15T MOSFET N-CH 150V 130A TO-3P 130N15 IXTQ130N15
$7.0
(1PCS) IXTQ130N15T MOSFET N-CH 150V 130A TO-3P 130N15 IXTQ130N15 pictureSTICK OF 30 GENUINE ORIGINAL IXYS IXFX32N50Q TRANSISTOR MOSFET 500V 32A 3-PIN
$99.0
STICK OF 30 GENUINE ORIGINAL IXYS IXFX32N50Q TRANSISTOR MOSFET  500V 32A 3-PIN picture(5PCS) 2SD2657KT146 TRANSISTOR NPN 30V 1.5A SOT-346 D2657 2SD2657
$2.82
(5PCS) 2SD2657KT146 TRANSISTOR NPN 30V 1.5A SOT-346 D2657 2SD2657 picture(5PCS) T405Q-600H TRIAC 4QU 600V 4A 5MA I-PAK 405 T405
$7.37
(5PCS) T405Q-600H TRIAC 4QU 600V 4A 5MA I-PAK 405 T405 picture(5PCS) BTA216-600F,127 TRIAC 600V 16A TO220AB BTA216-600F 216 BTA216
$6.62
(5PCS) BTA216-600F,127 TRIAC 600V 16A TO220AB BTA216-600F 216 BTA216 picture






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