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

MSA Altair 5x Multigas Detector O2 CO H2S LEL Pumped, Bluetooth enabled.
$400.0
MSA Altair 5x Multigas Detector O2 CO H2S LEL Pumped, Bluetooth enabled. pictureMSA Altair 5X Meter Multigas Detector
$299.95
MSA Altair 5X Meter Multigas Detector pictureMSA Power Supply Charger Altair 4x and 5x Multi Gas Instruments Detectors New
$30.0
MSA Power Supply Charger  Altair 4x and 5x Multi Gas Instruments Detectors New picture(1PCS) ALTAIR04-900 IC OFFLINE SWITCH PWM 16SOIC ALTAIR04 04-900
$2.05
(1PCS) ALTAIR04-900 IC OFFLINE SWITCH PWM 16SOIC ALTAIR04 04-900 pictureMSA 10114835 Rechargeable Altair 5x Air Monitors New In Packaging
$180.0
MSA 10114835 Rechargeable Altair 5x Air Monitors New In Packaging picture






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