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

Posts: 147
Registered: ‎09-10-2008
My Device: Not Specified
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?

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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.