×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    6

    series 80 ListBox problem

    hi everybody

    i got a problem with listbox in my series 80 application.

    in my .rss file i introduce:

    RESOURCE LISTBOX r_approva_miaListBox
    {
    //flags = EMultipleSelection;
    array_id = r_approva_miaListBox_items;
    }

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

    the problem is that when i try to compile my application i got a series of errors related to file badef.rh and eikon.rh

    have you any idea why?! i realize that the STRUCT ARRAY is in badef.rh while the STRUCT LISTBOX is in eikon.rh... so i include both files in my .rss file
    i notice also that in series 80 the field "flag" in LISTBOX doesn't support EAknListBoxSelectionList that is specific for series 60...
    so.... please, help me!!!

    stefano

  2. #2
    Registered User
    Join Date
    Apr 2005
    Posts
    25
    Hi,

    did you copied this out of your source? If yes, the solution could be very simple :-)

    first:
    you reference "r_approva_miaListBox_items"

    and define your array as
    "r_approvamiaListBox_items" (forgot the underscore between approva and miaList

    second:
    the items- section should end with a semicolon

    ->tems =
    {
    LBUF { txt = "Item1"; },
    LBUF { txt = "Item2"; },
    LBUF { txt = "Item3"; }
    };

Posting Permissions

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