×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    47

    change the default value of one CAknSliderSettingItem...

    I have a CAknSettingItemList with a CAknSliderSettingItem and i want to change the value of a slider (CAknSlider).

    The definition in the resource file is:

    AVKON_SETTING_ITEM
    {
    identifier = EAknExSettingSlider1;
    setting_page_resource = r_composer_slider_setting_page1;
    name = qtn_aknexsettinglist_slider_title1;
    }


    and

    RESOURCE AVKON_SETTING_PAGE r_composer_slider_setting_page1
    {
    label = qtn_aknexsettinglist_slider_title1;
    type = EAknCtSlider;
    editor_resource_id = r_composer_slider1;
    }


    and

    RESOURCE SLIDER r_composer_slider1
    {
    layout = EAknSettingsItemSliderLayout;
    minvalue = SLIDER_SETTING_PAGE_MINVALUE;
    maxvalue = SLIDER_SETTING_PAGE_MAXVALUE;
    step = SLIDER_SETTING_PAGE_STEP;
    valuetype = EAknSliderValueBareFigure;
    decimalplaces = 0;
    minlabel = qtn_slider_minlabel;
    maxlabel = qtn_slider_maxlabel;
    }


    and i want to change the default value of the slider

    Please, can anyone help me?

    Thank you.

  2. #2
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: change the default value of one CAknSliderSettingItem...

    hello,


    I want to know how to change the default minvalue and maxvalue of a slider, too.


    Thanks

    Pai
    Symbian && Android && iPhoneOS

Posting Permissions

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