×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    22

    How to Handle Settings after slecetion

    Hi all,

    Now less say you have an application with settings and there in settings you can select what service you want to have. ok when you select one button from the ui of setting it has pop up enumerated text to choose say text1, text2, text3,... now how to handle this selection programmitically. Say if you select text1 then the APP should do something but then how to link this enumrated text1 to its fuctionality. We know if we have some enum {Et, Ey, Ez}; then we can use simply switch statement inthe HandleCommand method but this case we have say enum "Et" in settings with title "What you want to do " when click it you get text1, text2, text3 as popup then how to handle text1(Which is enumerated text) to its functionality. Please help!!!Urget Thanks.
    Last edited by rahelcavalli; 2009-07-28 at 11:38.

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: How to Handle Settings after slecetion

    i think you must be getting the indexes of the enumerated itens you click, for e.g. if you chose 2nd enumerated item from a list then its index is 1 and this index is getting into some variable of which you must be having access.So just use that variable.

    void YourSettingList::EditItemL (TInt aIndex, TBool aCalledFromMenu)
    {

    if (var==1)

    {
    //do something here
    }


    var is integer variable in which you must be getting the index of enumerated item which you select from list

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

    Re: How to Handle Settings after slecetion

    One thread per query is usually enough. Please avoid multiposting. Refer to http://discussion.forum.nokia.com/fo...d.php?t=175163

Similar Threads

  1. SIP VoIP Settings Tool
    By petrosoi in forum VoIP
    Replies: 19
    Last Post: 2009-01-18, 05:23
  2. New SIP settings without using settings -> sip settings
    By miikkis in forum Symbian Networking & Messaging (Closed)
    Replies: 20
    Last Post: 2008-11-20, 13:46
  3. Duplicate APN settings after OTA configuration (series60)
    By sidshaw in forum Smart Messaging
    Replies: 0
    Last Post: 2005-07-05, 14:04
  4. Settings Page - How to handle cancel event?
    By ashbhatia in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-03-10, 10:11
  5. Problem sending GPRS settings
    By maronk in forum Smart Messaging
    Replies: 1
    Last Post: 2002-09-24, 06:28

Posting Permissions

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