You Are Here:

Community: Developer Discussion Boards

#1 Old problem with saving combo in form - 2008-09-30, 15:55

Join Date: Sep 2008
Posts: 18
zezier
Offline
Registered User
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
flags=appuifw.FFormEditModeOnly
f=appuifw.Form(data, flags)
f.save_hook = save_prefs
f.execute()

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
Reply With Quote

#2 Old Re: problem with saving combo in form - 2008-09-30, 20:03

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Problem.... vineetbillorey General Symbian C++ 28 2008-09-24 06:58
s60 form problem netsjp Symbian User Interface 5 2008-03-26 05:20
Java Form size problem eyalmnm Mobile Java Media (Graphics & Sounds) 2 2008-03-02 15:28
Adding Custom Menu Through (DynInitMenuPaneL) to Form Problem mubx2000 General Symbian C++ 3 2007-02-16 08:47
problem creating my own menu for form alice77 Symbian User Interface 2 2003-11-21 14:20

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia