Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
saravanaboopati
Posts: 147
Registered: ‎09-10-2008
Accepted Solution

ListField setSearchable?

How to set the listfield searchable.? I tried Listfield.setSearchable but it dint reflect in the application.

 

keypress not working in the list. How to achieve the listfield searchable when keypress?

Please use plain text.
Developer
peter_strange
Posts: 19,513
Registered: ‎07-14-2008

Re: ListField setSearchable?

Searching is provided by the indexOfList() method.  If you want to implement searching, you must implement that method and use it to search your list as you require.  So implement this method, and debug to see what happens on a key press.
Please use plain text.