BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-27-2009, 06:26 PM   #1 (permalink)
New Member
 
Join Date: May 2009
Model: 5800
PIN: N/A
Carrier: Blackberry developer
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default I need help!!!!!!! array of BasicEditField

Please Login to Remove!

Hi everybody... i'm sorry if i ask this...

i'm developing an aplication on the Blackberry JDE and i don't know how to create an array of EditFields or BasicEditFields, i mean, i have to ask on this aplication some codes of diferent books, but i don't know how many books are.

For this reason i have to make an array of BasicEditField or EditFields.

I need this as early as possible. Thanks for any help
Offline  
Old 05-27-2009, 11:14 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Why do you need an array of edit fields? When you add an EditField to a Screen, the screen maintains a list of all of your EditFields (or any fields, for that matter).

If you want an array of any Java object, you can declare it like this:

Object[] foobar = new Object[5];

(or whatever the size).

If you do not know the size, and you want the array to be dynamic, then use the Vector class.
Offline  
Old 06-15-2009, 05:29 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2008
Location: India
Model: 9000
Carrier: AirTel
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

BasicEditField _beField[5]={new BasicEdiField("",asd),.. up to 5}
__________________
Praveen K
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.