Namespaces
Variants
Actions

Talk:How can I find out when the value in the TextField has been changed?

Jump to: navigation, search
{{{width}}}
25 Sep
2009
Article Review by Larry101 (20090925)

This is a fairly basic article which demonstrates how to listen for changes to Item instances contained in a Form. As the article points out, this can be useful in order to implement functionality such as auto-complete, where the list of options needs to be updated in response to users entering text in a Form component such as a TextField.

A simple code example is provided which does a good job of demonstrating how to implement the ItemStateListener interface (and the itemStateChanged method). It also shows how to set the ItemStateListener for a form. Usefully, a link is also provided to download a midlet which demonstrates the use of an ItemStateListener implementation in an actual application.


 
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved