×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    4

    Multi Selection List Settings Item in S60 3rd

    Hello,

    I'm trying to implement a multi selection list item in a settings page on S60 3rd edition, but I'm not sure of how to do this.

    1st - What subclass of CAknSettingItem to use? CAknEnumeratedTextPopupSettingItem works for a single selection list, but there does not seem to be an appropriate subclass of CAknSettingItem for a multi selection list. I suppose I could roll my own, but I'm not sure how to do it.

    2nd - How do you set up the resources. Specificly, how do you set up an AVKON_SETTING_PAGE resource for a multi selection list? Again, I know how to do it for a single selection list, but not a multi.

    Any suggestions would be greatly appreciated.

    - Rich
    ------------
    Rich Bruchal
    DataViz, Inc.

  2. #2
    Registered User
    Join Date
    Jan 2006
    Posts
    15

    Re: Multi Selection List Settings Item in S60 3rd

    The easiest way to do it is probably to derive your own class from CAknEnumeratedTextPopupSettingItem and override it's EditItemL method. In EditItemL launch set setting page like this:

    Code:
    //iSelections is an CSelectionItemList*
    CAknCheckBoxSettingPage* settingPage = 
    new( ELeave) CAknCheckBoxSettingPage( R_CHECKBOXLIST_SETPAGE, iSelections);	
    	
    if( settingPage->ExecuteLD(CAknSettingPage::EUpdateWhenAccepted))
    {	
    	//OK, update and save					
    	StoreL();
    }
    For the setting page resources...

    Code:
    RESOURCE POPUP_SETTING_LIST r_checkbox_list
    {
    }
    
    RESOURCE AVKON_SETTING_PAGE r_checkboxlist_setpage
    {   
        label= "";
        type = EAknCtPopupSettingList;
        editor_resource_id = r_checkbox_list;
    }
    ...should suffice.

  3. #3
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Brebes, Indonesia
    Posts
    129

    Re: Multi Selection List Settings Item in S60 3rd

    May be you can try Carbide.c++ developer or profesional version.

    I have tips.
    1. Install carbide.c++ 1.1 / 1.2 Developer or Profesional version.
    2. Discover your target device User Interface.
    3. Make all interface with carbide.c++ like in target device.
    4. Save all project.
    5. When you need example interface you can refer to your project.

    Now you can save to install carbide.c++ express edition.
    http://blogehendrawan.blogspot.com - Kembangin symbian di Indonesia yukk....

  4. #4
    Registered User
    Join Date
    Jul 2007
    Posts
    2

    Re: Multi Selection List Settings Item in S60 3rd

    one can find usefull code in S60 Platform: Settings Screen Example v2.0
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,737

    Re: Multi Selection List Settings Item in S60 3rd

    Yes, this one is better, but still 2 years old. Although it can be considered "recent" when compared to the other one from 2002 (http://discussion.forum.nokia.com/fo...ad.php?t=12173).

Similar Threads

  1. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29
  2. Multi selection List Box
    By disamant in forum Symbian
    Replies: 0
    Last Post: 2005-08-27, 07:25
  3. Multi selection List box in Python on Series 60
    By disamant in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-12-27, 06:21
  4. How do I make an item in a selection list get selected...
    By msandov in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2003-07-24, 20:04
  5. List item selection
    By SanDan in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-06, 10:57

Posting Permissions

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