×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    3

    Red face PyS60 how to create search field in Listbox ?

    Someone know the solution to create search field in Listbox,
    please help.
    Last edited by tenuza; 2009-08-07 at 10:50.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: PyS60 how to create search field in Listbox ?

    Quote Originally Posted by tenuza View Post
    Someone know the solution to create search field in Listbox,
    please help.
    hello tenuza

    welcome to forum nokia Dibo.

    AFAIK there is no direct function using which you can create a search filed in the listbox.

    Regards
    Gaba88

  3. #3
    Regular Contributor
    Join Date
    Jan 2009
    Location
    India
    Posts
    138

    Re: PyS60 how to create search field in Listbox ?

    Quote Originally Posted by tenuza View Post
    Someone know the solution to create search field in Listbox,
    please help.
    Hi,

    Try this code snippet:

    Code:
    import appuifw 
    
    names = [u"PythonS60", u"C++", u"C#", u"VC++", u"Java"]
    
    index = index = appuifw.multi_selection_list(names, 'checkbox', 1)
    
    if index == 2:
    	# Do somthing
    else:
    	# Do somthing
    Pavan Pareta
    Sr. Software Engineer
    http://windows-mobile-dev.blogspot.com

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    3

    Re: PyS60 how to create search field in Listbox ?

    pavan.pareta thanks for solution

    search field in Listbox Type
    not search field in multi_selection_list

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    3

    Re: PyS60 how to create search field in Listbox ?

    hello gaba88

    Please show the example.
    Search field that same in selection_list or multi_selection_list.

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: PyS60 how to create search field in Listbox ?

    Quote Originally Posted by tenuza View Post
    hello gaba88

    Please show the example.
    Search field that same in selection_list or multi_selection_list.
    hello tenuza

    sorry but i didnt get you. and as i have already told you there is nothing like a direct function using which you can get search filed.

    regards
    Gaba88

  7. #7
    Regular Contributor
    Join Date
    Sep 2008
    Location
    London, UK
    Posts
    176

    Re: PyS60 how to create search field in Listbox ?

    ironically, i've recently been looking for a Listbox with search field too.. but there's no avail in Python, because I wanted a searchable Listbox as the main screen with an left softkey Options menu.
    Will have to resort to appuifw.selection_list instead.
    The86Hitman
    PyS60 1.9.7 on E71
    http://www.drhtailor.com/pys60

Similar Threads

  1. EEventKey + listbox + search field
    By egeri in forum Symbian User Interface
    Replies: 16
    Last Post: 2009-06-09, 10:26
  2. How to get listbox and search control sized, positioned?
    By mapeters in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-03-23, 10:47
  3. how to display the Listbox
    By arungupta_2jan in forum Symbian
    Replies: 4
    Last Post: 2009-03-03, 21:10
  4. Listbox Search
    By patil_ruturaj in forum Symbian
    Replies: 1
    Last Post: 2008-08-25, 07:02

Posting Permissions

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