Namespaces
Variants
Actions
Revision as of 03:10, 19 June 2012 by hamishwillee (Talk | contribs)

Archived:Default selection in a choiceGroup may not be effective right after MIDlet startup (Known Issue)

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.


Article Metadata

Tested with
Devices(s): Nokia N91, Nokia 6681, Nokia N70, and Nokia N93

Compatibility
Platform(s): S60 2nd Edition
S60 3rd Edition

Article
Created: User:Technical writer 1 (30 Mar 2007)
Last edited: hamishwillee (19 Jun 2012)

Description

The default value of a choiceGroup may not be passed on to the itemStateListener on MIDlet startup.

When one or more of the textFields is set to uneditable depending on the state of a choiceGroup at MIDlet startup in a MIDlet with a couple of text fields and a choiceGroup, it may be possible to insert text into the field until the current value of choiceGroup is passed on to the itemStateListener.  

Solution

Set the default constraint of the textField outside the ItemListener.

203 page views in the last 30 days.
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