BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-20-2009, 03:04 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: berlin, germany
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ObjectChoiceField - Add choice

Please Login to Remove!

Hi,
i want to add a choice to my ObjectChoiceField, after i have put it onto my Screen.
Now i'm using setChoices, but all "old" choice have been deleted, ok.

But how can I add a choice without deleting the old ones?

thanks hibbert
__________________
My English is so bad, that makes me nobody so quickly after
Offline  
Old 04-20-2009, 03:18 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just add your new choices to whatever object array holds your old ones and use setChoices(objArray)
Offline  




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