×
Namespaces

Variants
Actions

How to fetch an entry and set it in CAknSettingItem

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code ExampleArticle
Created: sathish.sh (31 Oct 2007)
Last edited: hamishwillee (30 May 2013)

Some time we may want to fetch some entry from some dialogs and set it in the setting item list. For example we may need to fetch a contact and set it in the settings page.

This can be done by first copying the text value to the settings data

 iSettingsData.iText.Copy(title->Des());  
//title is the descriptor which has been retrieved from the dialog.

and then calling the following code snippet

(*SettingItemArray())[ListBox()->CurrentItemIndex()]->LoadL();
(*SettingItemArray())[ListBox()->CurrentItemIndex()]->UpdateListBoxTextL();

Related Link

An example of how to fetch a contact and set it can be found in the link

This page was last modified on 30 May 2013, at 04:34.
34 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×