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.

Revision as of 05:32, 24 April 2009 by Forum Nokia KB (Talk | contribs)

Archived:Input problems when using popup search field in a dialog (Known Issue)

From Wiki
Jump to: navigation, search


Article Metadata
Tested with
Devices(s): All S60 3rd Edition devices
Keywords: CAknSearchField, TSearchFieldStyle::EPopup
Created: (24 Apr 2009)
Last edited: Forum Nokia KB (24 Apr 2009)


The TSearchFieldStyle::EPopup style does not work properly with the CAknDialog class when trying to enter text into the search field.


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.

46 page views in the last 30 days.