×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    30

    "Done" button for form

    Hi,

    Does anybody know what you need to do in order to get the right soft button say "Done" when executing a form ?
    Right now it says "back", and the soft left button is "Options" where "Save" is the only option.

    In the phone's settings I see a lot of forms that have "Done" button so there must be a way to get it.

    Thanks,
    Daniel

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: "Done" button for form

    Quote Originally Posted by dnastase
    Hi,

    Does anybody know what you need to do in order to get the right soft button say "Done" when executing a form ?
    Right now it says "back", and the soft left button is "Options" where "Save" is the only option.

    In the phone's settings I see a lot of forms that have "Done" button so there must be a way to get it.

    Thanks,
    Daniel
    Try this ...

    put uitricks.pyd and key_tricks.py to !\system\libs
    And now add this to your code
    Code:
    from key_tricks import * 
    import uitricks
    # 'Back' becomes 'Done' ...
    uitricks.set_text('Done',EAknSoftKeyBack)
    # return to default ...
    uitricks.set_text('Done',EAknSoftKeyBack)
    # 'Options' left soft key display become 'Python' !
    uitricks.set_text('Python',EAknSoftKeyOptions)
    binary uitricks module (1st and 2nd pys60 only !)
    key_tricks.py

    I don't try the code but I think it would have to work fine !
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

Similar Threads

  1. Dialog button vs softkey button
    By apitoman in forum Symbian User Interface
    Replies: 2
    Last Post: 2011-07-19, 12:28
  2. Command Button on TextBox Issue in 6230i/3510i
    By manasmchex in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 3
    Last Post: 2006-02-03, 17:13
  3. weird CANCEL button behaviour
    By securityfocus in forum Symbian
    Replies: 0
    Last Post: 2005-03-18, 14:24
  4. Submit button not visible on display
    By steensaabye in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2004-04-06, 17:24
  5. changing lable of cba button in popup list?why no body is replying
    By amitagrawal78 in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-10-23, 11:01

Posting Permissions

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