phonebookui/Phonebook2/UIControls/src/CPbk2ContactEditorPostalCodeField.cpp
branchRCL_3
changeset 85 38bb213f60ba
parent 74 6b5524b4f673
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
   150     // CreateTextViewL() is flagged as deprecated but if it is not 
   150     // CreateTextViewL() is flagged as deprecated but if it is not 
   151     // called here the ActivateL() below crashes sometimes.
   151     // called here the ActivateL() below crashes sometimes.
   152     iControl->CreateTextViewL();
   152     iControl->CreateTextViewL();
   153     iCaptionedCtrl = iUiBuilder.LineControl(ControlId());
   153     iCaptionedCtrl = iUiBuilder.LineControl(ControlId());
   154     iCaptionedCtrl->SetTakesEnterKey(ETrue);
   154     iCaptionedCtrl->SetTakesEnterKey(ETrue);
   155     
       
   156     // Enable partial screen input
       
   157     TInt flags = iControl->AknEditorFlags();
       
   158     iControl->SetAknEditorFlags(flags | EAknEditorFlagEnablePartialScreen);
       
   159     }
   155     }
   160 
   156 
   161 // --------------------------------------------------------------------------
   157 // --------------------------------------------------------------------------
   162 // CPbk2ContactEditorPostalCodeField::Control
   158 // CPbk2ContactEditorPostalCodeField::Control
   163 // --------------------------------------------------------------------------
   159 // --------------------------------------------------------------------------