BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-30-2007, 05:16 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: movistar
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default grid layout

Please Login to Remove!

I need create a grid layout in a screen for display 4 data columns and "n" rows
sombody have a code example

thanks
Offline  
Old 07-31-2007, 12:43 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: CLDC
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down Grid Layout

Hi,

U can use VerticalFieldManager and HorizontalFieldManager for making Grid on to the Screen.....

For each row...try this code


HorizontalFieldManager row1=new HorizontalFieldManager();

VerticalFieldManager col1_row1=new VerticalFieldManager();
VerticalFieldManager col2_row1=new VerticalFieldManager();
VerticalFieldManager col3_row1=new VerticalFieldManager();
VerticalFieldManager col4_row1=new VerticalFieldManager();

row1.add(col1_row1);
row1.add(col2_row1);
row1.add(col3_row1);
row1.add(col4_row1);

mainscreen.add(row1);

The above code creates one row with 4 columns on your Screen,if u want more rows then repeat the above code....
Offline  
Old 07-31-2007, 10:06 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8100
PIN: N/A
Carrier: movistar
Posts: 51
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Fonts

thank,
Now, I need to font in my screen does small but iŽll see all columns
if you have a code example
thanks very much
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

Dell OEM Precision T3500 500w Power Supply D525AF-00 DPS-525FB M821J (D4)
$90.0
Dell OEM Precision T3500 500w Power Supply D525AF-00  DPS-525FB  M821J   (D4) pictureOEM BULB with Housing for DELL 331-7395 Projector with 180 Day Warranty
$319.0
OEM BULB with Housing for DELL 331-7395 Projector with 180 Day Warranty pictureOEM BULB with Housing for DELL 1800MP Projector with 180 Day Warranty
$203.0
OEM BULB with Housing for DELL 1800MP Projector with 180 Day Warranty pictureOEM Equivalent Bulb with Housing for DELL 310-8290 Projector
$43.74
OEM Equivalent Bulb with Housing for DELL 310-8290 Projector pictureOEM BULB with Housing for DELL 331-7395 Projector with 180 Day Warranty
$319.0
OEM BULB with Housing for DELL 331-7395 Projector with 180 Day Warranty picture






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