×

Discussion Board

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

    a problem in multi_selection_list

    import appuifw, e32
    def m(x):return x.decode('utf-8')
    def a():
    M=[m('大毅哥'),m('四海妹'),m('大啕妹'),m('大海龟')]
    index=appuifw.multi_selection_list(choices=M,style='checkbox',search_field=1)
    if index==0:
    appuifw.note(m('欢迎您!'),'info')
    a()
    else:
    appuifw.note(m('别的人!'),'info')
    appuifw.app.tittle=m('列表界面')
    a()
    a()
    e32.Ao_lock().wait()
    the problem is that i don't know how to arrange the sequence to info ,it always runs in to a dead end.but i did well in selection_list

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: a problem in multi_selection_list

    Hi,

    Please use code tags when posting code (the button with the # symbol on it in the post editor). That keeps the code indented and easier to read.

    One thing that might be causing a problem is the fact that you are comparing index (which is a tuple) to 0 (which is a number). It would help if you explained what you are trying to do a bit more clearly.

Similar Threads

  1. STLPort namespace issue
    By yickhong in forum Open C/C++
    Replies: 0
    Last Post: 2009-04-09, 08:54
  2. SyncML link problem
    By samuel_ in forum Symbian
    Replies: 4
    Last Post: 2009-03-27, 08:02
  3. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  4. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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