BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-09-2008, 04:01 PM   #1 (permalink)
Thumbs Must Hurt
Join Date: Apr 2008
Model: 7100T
Carrier: idk
Posts: 84
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default auto complete combobox

Please Login to Remove!

Hi everyone.. been a while I posted here...
I'm trying to make an active combobox (or ObjectChoiceField)
I would want to provide the component a list of choices and when the users types into the objectchoicefield, it autocompletes it (a bit like the find contact field in the adresse book)...

Like say I have the list "aaa", "abc", "abb", if the users types "ab", two choices will remain ("abc" and "abb")

I looked up the keywordfilterfield but it a lil bit complicated for me...
you have to create a ReadableList, which I don't understand at all (all those methods to create while creating the abstract class seems useless to me)
or is it me who doesn't understand completly abstract classes?

I'd just want a control with control.setchoices(String[] choices)
and when the user types into the control, it will refresh the list
Stop telling me what it can do...
Show me how to make it do it!!!!

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.