×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    217

    how to set setting item value

    hi

    how to set setting item value by program?

    set setting items sample :

    RESOURCE AVKON_SETTING_ITEM_LIST r_registration_setting_item_list
    {
    title = rls_setting_title;

    items =
    {
    AVKON_SETTING_ITEM
    {
    identifier = ERegistrationSettingName;
    setting_page_resource = r_registration_name_setting_page;
    name = rls_name_title;
    },

    RESOURCE AVKON_SETTING_PAGE r_registration_name_setting_page
    {
    label = rls_name_item_title;
    type = EEikEdwinReadOnly;//EEikCtEdwin;
    editor_resource_id = r_registration_edwin;

    RESOURCE EDWIN r_registration_edwin
    {
    width = TEXT_SETTING_PAGE_WIDTH;
    lines = TEXT_SETTING_PAGE_LINES;
    maxlength = TEXT_SETTING_PAGE_MAXLENGTH20;
    allowed_input_modes = EAknEditorTextInputMode;
    }

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: how to set setting item value

    Hi,

    check this example for more help and info

    http://www.forum.nokia.com/info/sw.n...t_Example.html

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  3. #3
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    Re: how to set setting item value

    You pass one external reference to setting item as it's data external representation when constuction.
    so the method is: change the value and call CAknSettingItem::LoadL( )

  4. #4
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: how to set setting item value

    You can dynamically set the value of setting item while loading your setting list.It's simple and straight.

  5. #5
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: how to set setting item value


Similar Threads

  1. How to create Read Only Setting item
    By rahulm in forum Symbian User Interface
    Replies: 6
    Last Post: 2011-01-20, 12:01
  2. Setting Item Hidden/Visible in SettingList
    By jp4symbian in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-07-24, 21:18
  3. Setting Item Lis 6
    By microdot in forum Symbian
    Replies: 3
    Last Post: 2007-08-24, 09:39
  4. Enumerated text setting item
    By WaelA in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-17, 06:05

Posting Permissions

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