BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-30-2011, 11:31 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8100
PIN: N/A
Carrier: Software
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Lightbulb ListField. Add row with 2 lines

Please Login to Remove!

Hi, Im developing an application that user a ListField control. I have to show about 5 items in the list so I can't show them in a simple line. I need to add two lines per row in the list like this:
  • [ROW1]
    field1 field 2 field 3 (line 1)
    field 4 field 5 field 6 (line 2)
    [/ROW1]
    [ROW2]
    field1 field 2 field 3 (line 1)
    field 4 field 5 field 6 (line 2)
    [/ROW2]


any idea how to do it?

Thanks,

Demian.
Offline  
Old 05-30-2011, 11:32 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8100
PIN: N/A
Carrier: Software
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: ListField. Add row with 2 lines

somehting like this:

Offline  
Old 06-03-2011, 03:44 AM   #3 (permalink)
New Member
 
Join Date: Jun 2011
Model: 9530
PIN: N/A
Carrier: analyst
Posts: 8
Post Thanks: 2
Thanked 0 Times in 0 Posts
Cool Re: ListField. Add row with 2 lines

I have a problem, that almost same with you.
I have to make a listfield that contains student's names from xml.
When I click a name, so new screen will appear with the detail of the student.

the example of listfield on screen:

Ahmad
Salman

after I click Salman it will appear like this:

Student Number: 51
Name: Salman
Address: India
Major: Physics

here is the xml file

Code:
<?xml version="1.0"?>
<students>
	<student>
	  <id>50</id>
	  <name>Ahmad</name>
	  <address>Pakistan</address>
	  <major>Management</major>
	</student>
	<student>
	  <id>51</id>
	  <name>Salman</name>
	  <address>India</address>
	  <major>Physics</major>
	</student>
</students>
can you help me?

Last edited by slametsugih : 06-03-2011 at 03:45 AM. Reason: typo
Offline  
Old 06-04-2011, 08:48 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8100
PIN: N/A
Carrier: Software
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: ListField. Add row with 2 lines

I also need help with this :(
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

Similar Threads for: ListField. Add row with 2 lines
Thread Thread Starter Forum Replies Last Post
Losing Call Logs, SMS or Emails? Optimize your BB! How To Setup for max free memory! John Clark BlackBerry Help 1620 12-31-2012 06:43 AM
BlackBerry Thumb Touch Typist Guide (Typing 60 WPM without looking!) Mark Rejhon General BlackBerry Discussion 34 04-14-2009 12:15 AM
8310 add pause add wait tmoney83 General 8300 Series Discussion - Curve 6 07-07-2008 06:29 PM
Listfield with Context Menus - need code sample srp336 Developer Forum 1 11-17-2005 04:10 PM
Empty lines in Disclaimer Text George1 BES Admin Corner 0 06-27-2005 10:24 PM





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