phonebookui/Phonebook2/UIControls/src/CPbk2ContactEditorUIAddressField.cpp
branchRCL_3
changeset 18 d4f567ce2e7c
parent 0 e686773b3f54
--- a/phonebookui/Phonebook2/UIControls/src/CPbk2ContactEditorUIAddressField.cpp	Thu Jul 15 18:22:55 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/src/CPbk2ContactEditorUIAddressField.cpp	Thu Aug 19 09:41:07 2010 +0300
@@ -152,5 +152,22 @@
     iControl->SetTextL(&aText);
     }
 
+// -----------------------------------------------------------------------------
+// CPbk2ContactEditorUIAddressField::ConsumesKeyEvent
+// -----------------------------------------------------------------------------
+//
+TBool CPbk2ContactEditorUIAddressField::ConsumesKeyEvent
+        ( const TKeyEvent& aKeyEvent, TEventCode aType )
+    {
+    TKeyResponse keyResponse = iControl->OfferKeyEventL( aKeyEvent, aType );
+
+    if ( EKeyWasConsumed == keyResponse )
+        {
+        return ETrue;
+        }
+            
+    return EFalse;
+    }   
+
 
 // End of File