#include <mw/AknPopupFieldText.h>
| class CAknPopupFieldText : public CAknPopupField |
| Public Member Functions | |
|---|---|
| CAknPopupFieldText() | |
| ~CAknPopupFieldText() | |
| virtual IMPORT_C void | ConstructFromResourceL(TResourceReader &) |
| IMPORT_C TInt | CurrentValueIndex() |
| IMPORT_C HBufC * | CurrentValueTextLC() |
| virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
| IMPORT_C const MDesCArray * | MdcArray() |
| IMPORT_C void | SetAutoAppend(TBool) |
| IMPORT_C void | SetCurrentValueIndex(const TInt) |
| Inherited Enumerations | |
|---|---|
| CAknPopupField:EAknFormMode | |
| CAknPopupField:EAknPopupFieldSelectionMode | |
| CCoeControl:TZoomType | |
Represents a text combo box type control which is used to implement the Series 60 text pop-up field. This control can be constructed directly from a resource.
| IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
Reimplemented from CAknPopupField::ConstructFromResourceL(TResourceReader &)
From CCoeControl.
Constructs the control from a resource file.
| Parameter | Description |
|---|---|
| aReader | Resource reader. |
| IMPORT_C TInt | CurrentValueIndex | ( | ) | const |
Gets the current value index from the CAknQueryValueText member.
Returns: The current value index.
| IMPORT_C HBufC * | CurrentValueTextLC | ( | ) |
Gets the current value text stored in the CaknQueryValueText member.
Returns: Pointer to the current value text.
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CAknPopupField::HandlePointerEventL(const TPointerEvent &)
From CCoeControl.
Handles pointer events.
| Parameter | Description |
|---|---|
| aPointerEvent | The pointer event. |
| IMPORT_C const MDesCArray * | MdcArray | ( | ) | const |
Gets the MdcArray from the CAknQueryValueText member. This array contains the selection array of the popup field.
Returns: Selection array of the popup field.
| IMPORT_C void | SetAutoAppend | ( | TBool | aAppend | ) |
Sets or clears EAutoAppendBitIndexCalls flag from CAknQueryValue.
| Parameter | Description |
|---|---|
| aAppend | If ETrue, the flag is set. |
| IMPORT_C void | SetCurrentValueIndex | ( | const TInt | aIndex | ) |
Sets the current value index to the CAknQueryValueText member.
| Parameter | Description |
|---|---|
| aIndex | The current value index. |