BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-22-2008, 10:05 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2008
Model: 8310
PIN: N/A
Carrier: Informatico
Posts: 56
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with grid

Please Login to Remove!

Hi,

I want to fill a grid using VerticalFieldManager
this is the a part of the code:

c1 = new VerticalFieldManager();
c2 = new VerticalFieldManager();
hfm = new HorizontalFieldManager();
while ( (event = parser.read()).getType() != Xml.END_DOCUMENT ) {
if (event.getType() == Xml.START_TAG) {
String name = event.getName();
if (name != null && name.equals("CAMPO")) {
event = parser.read();
contenido = event.getText();
if (contenido != null) {
c1.add(new LabelField(contenido));
c2.add(new LabelField("--"));
hfm.add(c1);
hfm.add(c2);
}
}
...
...
add(hfm);

But when I run the application give me an error, how can i do it?

Thanks, Oscar

Last edited by racsus : 04-22-2008 at 10:07 AM.
Offline  
Old 04-22-2008, 11:00 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2008
Model: 8310
PIN: N/A
Carrier: Informatico
Posts: 56
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have solved the problem, thank you
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

(1PCS) IRFR2905ZTRL MOSFET N-CH 55V 42A DPAK 2905 IRFR2905
$2.23
(1PCS) IRFR2905ZTRL MOSFET N-CH 55V 42A DPAK 2905 IRFR2905 picture(1PCS) IRFR2905ZTR MOSFET N-CH 55V 42A DPAK 2905 IRFR2905
$2.26
(1PCS) IRFR2905ZTR MOSFET N-CH 55V 42A DPAK 2905 IRFR2905 picture(1PCS) IRLR2905Z MOSFET N-CH 55V 42A DPAK 2905 IRLR2905
$2.4
(1PCS) IRLR2905Z MOSFET N-CH 55V 42A DPAK 2905 IRLR2905 picture(1PCS) IRLR024Z MOSFET N-CH 55V 16A DPAK 024 IRLR024
$1.51
(1PCS) IRLR024Z MOSFET N-CH 55V 16A DPAK 024 IRLR024 picture(1PCS) IRL3705ZS MOSFET N-CH 55V 75A D2PAK 3705 IRL3705
$3.54
(1PCS) IRL3705ZS MOSFET N-CH 55V 75A D2PAK 3705 IRL3705 picture






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