BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-19-2010, 05:25 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: Storm
PIN: N/A
Carrier: AT&T
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Help in refreshing the screen

Please Login to Remove!

Hi..

I am getting some problem with refreshing the screen..
What i am doing is i am generating some checkboxefield instances dynamically depending upon the no. of items in the list. for example if i have 5 items in list then 5 checkboxes are created. This is working very fine. by using the managers screen is showing the checkboxes and listfield items. when i go to another screen to add some items to the list i want on coming back to the original screen when i reload the list, number of instances of the checkboxfield should be increased by the no. of items added and screen should display the new no. of checkboxes and new items of the listfield.

Items are being displayed but the new checkboxes are not created.

Is there any way to refresh the screen so that when i come back to the screen, the no. of fields on the screen must be changed according to the situation.

I hope i am able to explain my problem...Please suggest some solution.
Offline  
Old 03-19-2010, 09:49 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: N/A
PIN: N/A
Carrier: Fledge
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can override the Screen's onExposed() method. Make sure you invoke the superclass's onExposed method as well.
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

Vintage Rare DEC 1073D / 1996 JD3487 H 9833
$49.99
Vintage Rare DEC 1073D  / 1996 JD3487 H 9833    pictureDEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101
$60.0
DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chips *NEW* 40278101  picture* VINTAGE REPRINT DEC. 10, 1951 AMERICAN MACHINIST BROCHURE *
$1.99
* VINTAGE REPRINT DEC. 10, 1951 AMERICAN MACHINIST BROCHURE * pictureVintage SIGNODE Crimping W14 Tool 17.5" long pat#1784123 dec9 1930 /N12167
$61.22
Vintage SIGNODE Crimping W14 Tool  17.5(VTG) 1984 P & H Harnischfeger yellow hard hat Dec 1st birthday bash milwaukee
$24.99
(VTG) 1984 P & H Harnischfeger yellow hard hat Dec 1st birthday bash milwaukee picture






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