emailuis/emailui/src/ncsaddressinputfield.cpp
branchRCL_3
changeset 14 b13141f05c3d
parent 13 8592a65ad3fb
child 16 b5fbb9b25d57
equal deleted inserted replaced
13:8592a65ad3fb 14:b13141f05c3d
   429 	{
   429 	{
   430     FUNC_LOG;
   430     FUNC_LOG;
   431 	if ( IsFocused() )
   431 	if ( IsFocused() )
   432 		{
   432 		{
   433 		iTextEditor->SetFocus( ETrue, aDrawNow );
   433 		iTextEditor->SetFocus( ETrue, aDrawNow );
   434         TRAP_IGNORE( iTextEditor->SetCursorPosL( iTextEditor->TextLength(), EFalse ) );
   434         //TRAP_IGNORE( iTextEditor->SetCursorPosL( iTextEditor->TextLength(), EFalse ) );
   435 
   435 
   436         // make sure that control is visible on screen
   436         // make sure that control is visible on screen
   437 		if ( Rect().iTl.iY < 0 )
   437 		if ( Rect().iTl.iY < 0 )
   438 			{
   438 			{
   439 			TPoint pt = TPoint( 0, 0 );
   439 			TPoint pt = TPoint( 0, 0 );
   861 void CNcsAddressInputField::EnableKineticScrollingL( CAknPhysics* aPhysics )
   861 void CNcsAddressInputField::EnableKineticScrollingL( CAknPhysics* aPhysics )
   862     {
   862     {
   863 	iPhysics = aPhysics;
   863 	iPhysics = aPhysics;
   864     iTextEditor->EnableKineticScrollingL( aPhysics );
   864     iTextEditor->EnableKineticScrollingL( aPhysics );
   865     }
   865     }
       
   866 
       
   867 void CNcsAddressInputField::SetCursorVisible( TBool aCursorVisible )
       
   868     {
       
   869     iTextEditor->SetCursorVisible( aCursorVisible );
       
   870     }