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
Regular Contributor
Posts: 94
Registered: ‎02-27-2010
My Device: rien
My Carrier: etudiant

problem autotexteditfield

hi autocompletedfield when I use to help the user to choose some things but chose when something does not exist.

 

 

BasicFilteredList filterList;
 AutoCompleteField autoCompleteField ;



AutoTextEditField tt = new AutoTextEditField("rrrr", "") ;
		
add(tt);

  filterList = new BasicFilteredList();

filterList.addDataSet(1,  String[]{"a","b","c"}, "Exemple", 0);

 for example I chose "D" does not exist in filterList, how can I get "D" as String

 

Regular Contributor
Posts: 94
Registered: ‎02-27-2010
My Device: rien
My Carrier: etudiant

Re: problem autotexteditfield

plz help me