Discussion Board

Results 1 to 2 of 2

Thread: Softkey labels

  1. #1
    Nokia Developer Champion vdharankar's Avatar
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    805
    hi

    I want to change the default labels "yes/no" and "Select/cancel" from confirmation query and listquery, what is the procedure ? i know that can be done by editing resource but not sure exactly how , anybody knows ?

    Thanks
    Vishal

  2. #2
    Regular Contributor teemup's Avatar
    Join Date
    May 2010
    Posts
    362
    Are you using the .rss file now to format the dialogs?

    If so, then you should have line which says something like this inside

    buttons = R_AVKON_SOFTKEYS_YES_NO;

    You could change this to:

    buttons = R_MY_CUSTOM_CBA_1;

    And then define them as this:

    RESOURCE CBA R_MY_CUSTOM_CBA_1
    {
    buttons =
    {
    AVKON_CBA_BUTTON { id = EAknSoftkeyYes; txt = STRING_r_custom_yes_text; },
    AVKON_CBA_BUTTON { id = EAknSoftkeyNo; txt = STRING_r_custom_no_text; }
    };
    }

    Then inside your rls file you can define the texts:

    rls_string STRING_r_custom_yes_text "New yes"
    rls_string STRING_r_custom_no_text "New no"

    Hopefully it works for you.

Similar Threads

  1. English softkey labels
    By mi_b in forum Python
    Replies: 2
    Last Post: 2009-05-03, 20:30
  2. Dynamically Changing Softkey Labels
    By srigans1 in forum Symbian User Interface
    Replies: 3
    Last Post: 2006-05-23, 08:59
  3. Changing softkey labels problem
    By kburgess in forum Symbian C++
    Replies: 1
    Last Post: 2005-07-14, 19:59
  4. Hide Softkey Labels
    By valentin_da_itiv in forum Symbian User Interface
    Replies: 6
    Last Post: 2004-02-13, 15:08
  5. Changing Labels for the softkey
    By Shabs in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-10-31, 18:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved