×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    can Listbox() do search by press?

    like the selection_list ?
    or i need to do something on my own with key binding ?
    can i get an example pls ?

    thx,
    Roi

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

    Re: can Listbox() do search by press?

    As far as I know, Listbox has no default search capability. The documentation doesn't mention it and neither do any of the examples I've seen. You'll have to improvise a search method of your own.

    Good luck

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

    Re: can Listbox() do search by press?

    Quote Originally Posted by roidayan View Post
    like the selection_list ?
    or i need to do something on my own with key binding ?
    can i get an example pls ?

    thx,
    Roi
    hi roi
    i think there is nothing in PyS60 trough which using a listbox you can make a search.

  4. #4
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: can Listbox() do search by press?

    Quote Originally Posted by roidayan View Post
    like the selection_list ?
    or i need to do something on my own with key binding ?
    can i get an example pls ?

    thx,
    Roi
    I am not sure what you are asking for but you could use the seach in selection list like you use it in contacts or the phone book.
    But be sure to refer the search_field to 1 when you create the selection list.
    index = appuifw.selection_list(choices=L , search_field=1)
    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  5. #5
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    Re: can Listbox() do search by press?

    yea i use selection_list now to choose a contact from a list i did
    and a popup_menu to choose a phone from multiple phones of the contact

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

    Re: can Listbox() do search by press?

    Quote Originally Posted by roidayan View Post
    yea i use selection_list now to choose a contact from a list i did
    and a popup_menu to choose a phone from multiple phones of the contact
    hi roi
    you can also choose multiple contacts using the selection_list also.

  7. #7
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    Re: can Listbox() do search by press?

    yea
    , i dont want to choose multiple contacts
    i choose a contact then show the phones for that contact
    and then choose a phone

  8. #8
    Regular Contributor
    Join Date
    Dec 2007
    Location
    India
    Posts
    133

    Re: can Listbox() do search by press?

    Quote Originally Posted by roidayan View Post
    yea
    , i dont want to choose multiple contacts
    i choose a contact then show the phones for that contact
    and then choose a phone
    You need to make a sub-selection list for that.

    Select a contact-> List the mobile numbers -> select a mobile numer.
    I hope you want to make the above algorithm if am getting it correctly
    Kandyfloss

    V 7.0642.0
    18-10-06
    RH-51
    Nokia 7610

  9. #9
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    Re: can Listbox() do search by press?

    i already did what i want look older reply.
    i used selection list to choose a contact and when clicking a
    contact a popup list appears to select a phone.
    works good

  10. #10
    Registered User
    Join Date
    Apr 2008
    Posts
    17

    Re: can Listbox() do search by press?

    and whats ur code now? can u post it?

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

    Re: can Listbox() do search by press?

    Quote Originally Posted by zoellner86 View Post
    and whats ur code now? can u post it?
    hi zoellner86
    i dont cant tell the fact that roidyan will post the code or not but if you are facing any sort of problem then please post that problem if you dont mind to share that with the discussion boards.
    You will defintely get a good help.

    Enjoy Pythoning
    Gaba88

Similar Threads

  1. EEventKey + listbox + search field
    By egeri in forum Symbian User Interface
    Replies: 16
    Last Post: 2009-06-09, 10:26
  2. Search Field in selection listbox
    By palak_shah_23 in forum Symbian User Interface
    Replies: 8
    Last Post: 2009-04-22, 11:05
  3. Issue with Search Field in Listbox
    By s_mehdi76 in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-04-04, 08:16
  4. Listbox...
    By harsh_vs in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-02-15, 20:29
  5. Full screen listbox skin not rendered correctly
    By template60 in forum Symbian
    Replies: 2
    Last Post: 2007-09-11, 04:34

Posting Permissions

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