BlackBerry Forums Support Community               

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

Please Login to Remove!

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
Old 04-20-2009, 04:18 AM   #2 (permalink)
Thumbs Must Hurt
Join Date: Feb 2009
Model: 9000
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts

Just add your new choices to whatever object array holds your old ones and use setChoices(objArray)
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.