BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-18-2005, 04:29 AM   #1
davigh
New Member
 
Join Date: Mar 2005
Posts: 2
Exclamation show EditField by array, possible?

Please Login to Remove!

is it possible to show EditFields in the main screen by using for...loop and use arrays to display it?
Offline  
Old 03-18-2005, 01:59 PM   #2
DoomBringer
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Default

What?
Offline  
Old 03-18-2005, 07:56 PM   #3
Mark Rejhon
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Default

Quote:
Originally Posted by davigh
is it possible to show EditFields in the main screen by using for...loop and use arrays to display it?
Can you clarify a little bit to tell us what you mean by this -- Are you trying to display a form, for example?
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 03-23-2005, 02:39 PM   #4
arconsulting
Thumbs Must Hurt
 
Join Date: Aug 2004
Location: Metro NYC
Posts: 175
Default

Internally, the manager is doing this (i.e. array of fields). You can easily iterate through all the fields on a screen.

What are you trying to accomplish?
__________________
-- Aric Rosenbaum
BlackBerry consulting, BlackBerry development
www.arconsultinginc.com
BlackBerry consulting and development (RIM SI Partner)
Offline  
Old 03-23-2005, 03:01 PM   #5
dicksonw
New Member
 
Join Date: Mar 2005
Posts: 3
Default

Do you mean something like this?

Code:
object[] objects = new object[4];
for(int i = 0; i < 4; i++)
{
    objects[i] = new EditField();
    
}

//add to screen
for(int i = 0; i < 4; i++)
{
    add((EditField)objects[i]);
}
__________________
Dickson Wong
Blog: http://blog.dicksonwong.com
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc picture

Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc

$100.00



Vintage Journal Beautiful Garden Flower Embossed Leather-Antique Handmade Dec... picture

Vintage Journal Beautiful Garden Flower Embossed Leather-Antique Handmade Dec...

$27.91



Armco Policies Dec 1965 Steel Plant Vintage 26 pgs booklet Butler, Pa 29th print picture

Armco Policies Dec 1965 Steel Plant Vintage 26 pgs booklet Butler, Pa 29th print

$10.49



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$99.99



HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee picture

HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee

$235.94







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