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

MALLORY 3041235 CAPACITOR 31000 MFD 15 VDC
$19.99
MALLORY 3041235 CAPACITOR 31000 MFD 15 VDC pictureAluminum Electrolytic Capacitors - Snap In AL-ELKO SNAP IN 3800UF 40V
$5.23
Aluminum Electrolytic Capacitors - Snap In AL-ELKO SNAP IN 3800UF 40V pictureNEW Maxwell ultracapacitor 500F/16V BMOD0500 P016 BO2 108980B
$0.99
NEW Maxwell ultracapacitor 500F/16V BMOD0500 P016 BO2 108980B pictureTITAN 3000-LI50Symbol Replacement Scanner Battery By Titan
$49.99
TITAN 3000-LI50Symbol  Replacement Scanner Battery By Titan pictureSANGAMD 500-1756-02 CAPACITOR 2600 MD 30 VDC
$14.99
SANGAMD 500-1756-02 CAPACITOR 2600 MD 30 VDC picture






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