Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1043033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:36:08+00:00 2026-05-16T15:36:08+00:00

Is it possible to customize Objectfieldlist according to following design? —————————- ROW#1 ROW NAME

  • 0

Is it possible to customize Objectfieldlist according to following design?

         ----------------------------
ROW#1    ROW NAME
         row details
         ---------------------------
ROW#2    ROW NAME
         row details
         ---------------------------  
ROW#3    ROW NAME
         row details
         ---------------------------

Row Name will be in bigger font than row details

Basically I need 2 text rows in a Row of ObjectListField.**OR any other method or suggestion as I might be wrong,**pls guide me its urgent and am some what new to Blackberry Development.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:36:08+00:00Added an answer on May 16, 2026 at 3:36 pm

    ObjectListField isn’t really the right way to do this – it’s really designed as a quick version of ListField for those times when you just need a simple list of strings.

    You should extend ListField itself, and provide your own implementation of ListFieldCallback that renders your list based on your data model. Use ListField.setCallback to set your callback.

    ListFieldCallback.drawListRow gives you a Graphics context, so you can draw whatever you want, including multiple lines of text. Also make sure to call ListField.setRowHeight on your listfield to make the rows high enough for 2 lines of text (the default height is the font height, so you’d only have room for 1 line of text).

    Sample code is something like (this is not complete and will not compile without some other code):

    ListField myListField = new ListField();
    myListField.setRowHeight(getFont().getHeight() * 2)
    
    myListField.setCallback(new ListFieldCallback() {
        public void drawListRow(ListField listField, Graphics graphics, int index, int y, int width) {
           // draw the first line of text
           graphics.drawText(0, y, "ROW " + rowNumber);
           graphics.drawText(20, y, "ROW NAME");
           graphics.drawText(20, y + getFont().getHeight(), "row details"); 
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to customize a tree widget so that the full row will
Is it possible to customize the UITableView's section index? I mean, changing the font
I would like to know if it's possible to customize each row of listview?
Is it possible to customize a django application to have accept localized date format
Is it possible to customize layout of android.widget.SearchView (I'm using it in actionBar)? I
I was wandering if is it possible to customize the facebook registration plugin layout.
I want to Know is it possible to customize dial chart's background in Achart
Is it somehow possible to customize or subclass System.Windows.Forms.ColorDialog to add a few buttons?
Hey Guys is it possible to customize an share option? I am exactly searching
I am wondering if it is possible to customize the default InfoWindow that pops

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.