Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2008

    problem with saving combo in form

    hello i have problem with saving data in my combo in forms:
    I have somfing like that:

    data = [(u'Login','text', u'login'),(u'Update metod','combo',([u'something1',u'something2],0))]

    def editPreferenses():
    global data
    f=appuifw.Form(data, flags)
    f.save_hook = save_prefs

    def save_prefs(new_prefs):
    global data
    data = new_prefs

    When I save use save in my form i can't execute editPreferenses() anymore. Is erro occure "Form combo field, bad index"
    what's wrong in this code?
    Pleas help me

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Ahmedabad, Gujarat, India

    Re: problem with saving combo in form

    hi zezier

    it will be better if you post your code uisng the code tags(#) provided in the editer, so that you can get some good replies.

    Enjoy Pythoning

Similar Threads

  1. Form Problem....
    By vineetbillorey in forum Symbian
    Replies: 28
    Last Post: 2008-09-24, 05:58
  2. s60 form problem
    By netsjp in forum Symbian User Interface
    Replies: 5
    Last Post: 2008-03-26, 04:20
  3. Java Form size problem
    By eyalmnm in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2008-03-02, 14:28
  4. Replies: 3
    Last Post: 2007-02-16, 07:47
  5. problem creating my own menu for form
    By alice77 in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-11-21, 13:20

Posting Permissions

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