emailuis/emailui/src/ncssubjectfield.cpp
branchRCL_3
changeset 35 e64954c2c8e2
parent 34 cd2816114bd1
child 24 b5fbb9b25d57
equal deleted inserted replaced
34:cd2816114bd1 35:e64954c2c8e2
   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     }