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:Input problems when using popup search field in a dialog (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 TSearchFieldStyle::EPopup style does not work properly with the CAknDialog class when trying to enter text into the search field.

Article Metadata
Tested with
Devices(s): All S60 3rd Edition devices
Keywords: CAknSearchField, TSearchFieldStyle::EPopup
Created: User:Technical writer 1 (24 Apr 2009)
Last edited: hamishwillee (21 Jun 2012)


CAknSearchField is used to create a search field in CAknDialog. The different types of TSearchFieldStyle include EPopup and ESearch. The ESearch style cannot be used with CAknDialog because it requires the search field to be a window-owning control, which is not the case with CAknDialog. EPopup style with CAknSearchField in a multipage dialog does not work properly. In some cases, when using EPopup there are problems when trying to enter (alphanumeric) text. Only numeric characters will be generated as input.


The problem with the EPopup style can be solved by manually setting the focus for the listbox.

// By setting focus text can be entered in EPopup style

However, this workaround may cause additional problems in a multipage dialog and event filtering during page switching will need thorough handling.

This page was last modified on 21 June 2012, at 06:13.
22 page views in the last 30 days.