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

NEW CONVUM Vacuum Generator Valve CVGM10HR2Z24BL
$219.98
NEW  CONVUM  Vacuum Generator Valve CVGM10HR2Z24BL pictureNEW CONVUM Vacuum Generator Valve CVGM10LSZ2Z24BL
$219.88
NEW  CONVUM  Vacuum Generator Valve CVGM10LSZ2Z24BL pictureWORKING SAVANT VP190 TWO STAGE VACUUM PUMP
$399.99
WORKING SAVANT VP190 TWO STAGE VACUUM PUMP pictureSAVANT VP 100 TWO STAGE VACUUM PUMP
$299.99
SAVANT VP 100 TWO STAGE VACUUM PUMP pictureSavant Vacuum System UVS400 Plus Heated Dryer Unit
$700.0
Savant Vacuum System UVS400 Plus Heated Dryer Unit picture






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