×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2004
    Location
    North East England
    Posts
    57

    dynamic list items in settingitem

    Hi,

    Im trying to create a setting item that is a dynamic list. Ive derived from CAknEnumeratedTextPopupSettingItem, and implemented my own CompleteConstructionL method. This works fine, and my items appear correctly in the list.

    However, the 'value' that I pass in on construction doesnt change when I pick something from the my dynamic list.

    When I comment out my implementation of CompleteConstructionL and replace with a call to the base class version (making it populate the list with the list items from the resource file) the 'value' does change when I pick something.

    Am I missing something?

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    North East England
    Posts
    57
    Answer:

    I was creating all of my CAknEnumeratedText entries with an index of 0, eg:

    aEnumeratedText = new CAknEnumeratedText(0, newStr1);


    Stupid me.

Posting Permissions

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