×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    34

    How to get new value of an enumerated text item in a setting item list?

    According to the sample 'WaveGen', we know how to get the new value of a volumn item in the setting item list. But how to get the new value of an enumerated text item in a setting item list?

    I just want to create a setting list, and changed one item's value, then get the new value. I want to use an enum text item, not a volumn item.

    I really appreciate your help. Thanks.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    34
    Hi, please give me an answer if someone konws.

    I inherited a class from AknEnumeratedTextPopupSettingItem, and in its function HandleSettingPageEventL(), I found that:

    1. After we change the value of enumerated text choice, and press OK button, it is the event EEventSettingOked instead of EEventSettingChanged triggered.

    2. using InternalValue() we can only get the old value, not the new value! WhY?

    Did someone ever try this? Can someone give me an reply? Thanks!

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    Try to call StoreSettingsL()

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    1

    Re: How to get new value of an enumerated text item in a setting item list?

    Try with:
    this->QueryValue()->CurrentValueIndex()
    instead of
    this->InternalValue();

    bye.

  5. #5
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Dublin
    Posts
    240

    Cool Re: How to get new value of an enumerated text item in a setting item list?

    Waking up sleeping thread... very funnny.
    -datha

Posting Permissions

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