BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-20-2008, 03:16 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 about grid

Please Login to Remove!

Hi

I have found this code for make a grid:

VerticalFieldManager c1 - new VerticalFieldManager();
VerticalFieldManager c2 - new VerticalFieldManager();
VerticalFieldManager c3 - new VerticalFieldManager();

HorizontalFieldManager hfm = new HorizontalFieldManager();

c1.add(new LabelField("Header1"));
c2.add(new LabelField("Header2"));
c3.add(new LabelField("Header3"));

c1.add(new LabelField("datarow1"));
c2.add(new LabelField("datarow2"));
c3.add(new LabelField("datarow3"));

...etc etc

hfm.add(c1);
hfm.add(c2);
hfm.add(c3);

My problem is how can I add this object to my screen, I try to put the sentence
pantalla.setcurrent(hfm);
but it's incorrect, how can I do it?

Thanks, Oscar
Offline  
Old 04-20-2008, 03:21 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 am using extends MIDlet, is it possible that not works about this? I suppose that I can not mix rim and canvas, but are there some way to make a grid on rim(MIDlet)?

Thanks, Oscar

Last edited by racsus : 04-20-2008 at 03:22 AM.
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

New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$30.39
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureNoctua CPU Cooler For Intel Xeon CPU LGA2011, 1356 And 1366 Platforms NH-U9DXi4
$79.79
Noctua CPU Cooler For Intel Xeon CPU LGA2011, 1356 And 1366 Platforms NH-U9DXi4 pictureNew Dell M610 PowerEdge Blade Server Redhat Version 5 2x 73GB HDD Linux 5
$950.0
New Dell M610 PowerEdge Blade Server Redhat Version 5 2x 73GB HDD Linux 5 pictureNEW IBM System X3850 M2 4x Intel Xeon 2.6 GHz 2x 146GB 32GB RAM HDD
$8750.0
NEW IBM System X3850 M2 4x Intel Xeon 2.6 GHz 2x 146GB 32GB RAM HDD pictureNew Dell M610 PowerEdge Blade Server Redhat Version 5 2x 73GB HDD Linux 5 Unit#2
$950.0
New Dell M610 PowerEdge Blade Server Redhat Version 5 2x 73GB HDD Linux 5 Unit#2 picture






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