emailuis/emailui/src/ncssubjectfield.cpp
branchRCL_3
changeset 19 b13141f05c3d
parent 17 8592a65ad3fb
child 24 b5fbb9b25d57
equal deleted inserted replaced
17:8592a65ad3fb 19:b13141f05c3d
   251 	{
   251 	{
   252     FUNC_LOG;
   252     FUNC_LOG;
   253 	if ( IsFocused() )
   253 	if ( IsFocused() )
   254 		{
   254 		{
   255 		iTextEditor->SetFocus( ETrue );
   255 		iTextEditor->SetFocus( ETrue );
   256 		TRAP_IGNORE( iTextEditor->SetCursorPosL( iTextEditor->TextLength(), EFalse ) ); 
   256 		//TRAP_IGNORE( iTextEditor->SetCursorPosL( iTextEditor->TextLength(), EFalse ) ); 
   257 
   257 
   258 		// make sure that control is visible on screen
   258 		// make sure that control is visible on screen
   259 		if ( Rect().iTl.iY < 0 )
   259 		if ( Rect().iTl.iY < 0 )
   260 			{
   260 			{
   261 			TPoint pt = TPoint( 0, 0 );
   261 			TPoint pt = TPoint( 0, 0 );
   599 
   599 
   600 void CNcsSubjectField::EnableKineticScrollingL(CAknPhysics*  aPhysics)
   600 void CNcsSubjectField::EnableKineticScrollingL(CAknPhysics*  aPhysics)
   601     {
   601     {
   602     iTextEditor->EnableKineticScrollingL(aPhysics);
   602     iTextEditor->EnableKineticScrollingL(aPhysics);
   603     }
   603     }
       
   604 
       
   605 void CNcsSubjectField::SetCursorVisible( TBool aCursorVisible )
       
   606     {
       
   607     iTextEditor->SetCursorVisible( aCursorVisible );
       
   608     }