BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-19-2010, 06: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, 10: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





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