Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Creating a pop-up style TextBox does not work in Symbian (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: 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}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Created: User:Technical writer 1 (22 Nov 2006)
Last edited: hamishwillee (13 Aug 2013)



According to the S60 2nd Edition specification, if the title is null and the TextBox type is ANY, a full-screen editor is used. If the TextBox type is other than ANY, or it is ANY but the title is non-null, a query/pop-up editor is used. Despite the TextBox type and whether the TextBox has a title or not, the S60 devices are always creating a full-screen editor type TextBox.


Under the section 2.1.10 in the S60 2nd Edition specification document (and more accurately under – "Editor presentation") it states that if the title of a type ANY TextBox is null, a full-screen editor is used. If the TextBox type is other than ANY or it is set to ANY, but the title is non-null, a query/pop-up editor is used.

This does not work in S60 devices - regardless of the type or whether the title is set to null or not, the devices are always displaying the TextBoxes in fullscreen mode.

This was also tested with Nokia 6270 (Series 40 phone), where this problem did not occur, so in Series 40 phones it is possible to create pop-up/query type TextBoxes.

How to reproduce

Write a test MIDlet defining the textBox as follows:

TextBox t = new TextBox(null, "", 50,TextField.ANY);

Compile, package and run on a real device. This should create a full-screen type textBox.

Now tweak the textBox definition:

TextBox t = new TextBox("popup", "", 50, TextField.PASSWORD<nowiki>|</nowiki>TextField.ANY);

According to the specification this should result in a pop-up/query-type textBox, not filling the entire screen. However, in S60 devices, this does not work.


No solution exists.

This page was last modified on 13 August 2013, at 10:28.
50 page views in the last 30 days.