phonebookui/Phonebook2/UIControls/src/CPbk2ContactEditorPostalCodeField.cpp
branchRCL_3
changeset 74 6b5524b4f673
parent 0 e686773b3f54
child 85 38bb213f60ba
equal deleted inserted replaced
68:9da50d567e3c 74:6b5524b4f673
   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);
   155     }
   159     }
   156 
   160 
   157 // --------------------------------------------------------------------------
   161 // --------------------------------------------------------------------------
   158 // CPbk2ContactEditorPostalCodeField::Control
   162 // CPbk2ContactEditorPostalCodeField::Control
   159 // --------------------------------------------------------------------------
   163 // --------------------------------------------------------------------------