
|
May 2005 |
||||
|
This example shows how to create two text controls in your C++ application for Sony Ericsson smartphones: CEikRichTextEditor and CEikEdwin. When the application is started, neither of the text controls are active for writing until one of them is chosen. The user can switch between text controls by simply tapping on it. Download TextControl example>> CEikEdwin is a base class for a few text controls. It supports Front End Processors, so it is useful for getting text data from the user. CEikRichTextEditor is a more advanced class. It contains rich text with options for each paragraph to have different character and format attributes. To make the editing clearer, a rectangular border and text label are drawn in the background. The application keeps track of which control is currently active so input can be passed properly.
To build the TextControl example for a Sony Ericsson smartphone, use the following: $ bldmake bldfiles More information about Controls can be found in the UIQ 2.1 SDK>>
| ||||
Copyright © 2001 - 2009 Sony Ericsson Mobile Communications AB. All Rights Reserved.