×

Discussion Board

Results 1 to 4 of 4

Thread: disable t9

  1. #1
    Regular Contributor
    Join Date
    Feb 2004
    Location
    Phillippines
    Posts
    139

    Question disable t9

    Hey guys.. Just wanted to know if it is possible to disable the t9 or dictionary support for editors.. Ie Edwin, globaltexteditor, etc.. Thanks!

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    5
    To completely disable t9 for a control, I guess you will need to set the correct properties on the Edwin.

    To temporarily just make sure that t9 is turned off you can also go straight at the SharedData information and change it.

    I would guess that could look something like:
    Code:
    #include <shareddataclient.h>
    
    RSharedDataClient sdc;
    TInt status = sdc.Connect();
    if (status == KErrNone)
    	{
    	if (sdc.Assign(KSDUidGeneralSettings) == KErrNone)
    		{
    		TBool predictiveTextOn = EFalse;
    		sdc.GetInt(KGSPredTxtFlag, predictiveTextOn);
    
    		if (predictiveTextOn)
    			{
    			sdc.SetInt(KGSPredTxtFlag, EFalse);
    			}
    		
    		sdc.Close();
    		}
    }

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165
    I think easiest way (if you are using resources) is to set the avkon_flags to define that no T9 is to be used with the editor.

    yucca

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    5
    symbianyucca,
    I fully agree, that is the preferred way!

    I was just coming from a situation where I had implemented my own controls and had severe problems telling the framework that I didn't want t9 -- then I found the way through the SharedData.

    But, you are right, with native controls, resources is the way to do it. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×