×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    44

    how can display the text on the list box

    i have created a dialog. and added the items to that dialog using resource.

    i have a problem when adding list box to the dialog.
    Added the list box type EAknCtSingleListBox control LISTBOX, flags attribute is set to EAknListBoxSelectionList and assigned an array id which is created in resource.
    when i am build and run on the emulator. The list box of the dialog is not showing the content which are added by using array id.

    DLG_LINE
    {
    type = EAknCtSingleListBox; //EAknCtSettingListBox;
    id = EDVTTestHarnessAppScannersList;
    control = LISTBOX
    {
    flags = EAknListBoxSelectionList;
    array_id = r_mylistbox_items;
    };
    }

    RESOURCE ARRAY r_mylistbox_items
    {
    items =
    {
    LBUF { txt = "Item1"; },
    LBUF { txt = "Item2"; },
    LBUF { txt = "Item3"; }
    };
    }

    can anybody give the solution above my problem.

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: how can display the text on the list box

    i guess u need to format the contents which you are adding onto the listbox.
    if the contents are not of the required format nothing would be displayed.

    Priju

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    44

    Re: how can display the text on the list box

    Quote Originally Posted by Priju Jacob Paul
    i guess u need to format the contents which you are adding onto the listbox.
    if the contents are not of the required format nothing would be displayed.

    Priju
    thanks priju. i got it by setting the format to the text.

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  2. How can we display a grid after click on a list box
    By jyotideep in forum Symbian User Interface
    Replies: 5
    Last Post: 2006-12-14, 04:59
  3. Duplicate Item In List Display
    By jaceline in forum Personal Profile
    Replies: 2
    Last Post: 2006-06-06, 02:06
  4. Replies: 0
    Last Post: 2004-10-07, 08:57
  5. List not display text in multiple lines
    By erracid8 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-07-21, 16:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×