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

4x 80KV 2cm Super Arc Pulse Inverter Generator Ignition Coil for Tesla 6V-12V
$12.49
4x 80KV 2cm Super Arc Pulse Inverter Generator Ignition Coil for Tesla 6V-12V  picture95Q08T5 COIL HOSE *NEW NO BOX*
$30.0
95Q08T5 COIL HOSE *NEW NO BOX* pictureRobertshaw replacement coil Z-94406-6 for FJ and FJT controls
$14.99
Robertshaw replacement coil Z-94406-6 for FJ and FJT controls pictureHOT 1 BAG Dental Ortho Niti Closed Coil Spring constant Force 0.010-9mm AZDENT
$5.68
HOT 1 BAG Dental Ortho Niti Closed Coil Spring constant Force 0.010-9mm AZDENT pictureFasco Kit # LC-C, Large Series Coil, #6104-6008, New
$19.99
Fasco Kit # LC-C, Large Series Coil, #6104-6008, New picture






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