×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Enable T9 mode in the Edwin created from rss file!

    hi,
    im creating a multilinedataqueryDialog from the resource file.

    and this is a part of code:

    DLG_LINE
    {
    type = EAknCtMultilineQuery;
    id = EMultilineSecondLine;
    control = AVKON_DATA_QUERY
    {
    layout = EMultiDataSecondEdwin;
    label = "Description";
    control = EDWIN
    {
    flags =EAknEditorPredictiveInputMode | EAknEditorFlagDefault| EEikEdwinNoHorizScrolling | EEikEdwinResizable | EEikEdwinAllowUndo;
    width = 25;
    lines = 1;
    maxlength = 100;
    };
    };
    By using this codes i dont get the Dictionary mode in the Edwin. i Tried by setting diffferent values for the Flags field but all went in vain.

    it would be nice if any one could tell me how to enable the T9 mode (when the # key is clicked twice) in the Edwin created from the resource file.

    Regards

    Priju

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Enable T9 mode in the Edwin created from rss file!

    Did you actually have predictive text switched on - look under tools|setup?

    It should work fine unless it is disabled by EAknEditorFlagNoT9

  3. #3
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: Enable T9 mode in the Edwin created from rss file!

    Hi Paul.Todd,
    thanks for the reply.
    I was able to set up the T9 mode. But it was not from the rss file.
    there is a function named
    IMPORT_C void SetPredictiveTextInputPermitted (TBool aPermitted)
    Just set tat accordingly and got it done.
    But i like to know which Tools | setups were you talking abt. i realy dont find any such menus where Predictive text can be set..i like to know more on what you have mentioned.

    Regards

    Priju

  4. #4
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: Enable T9 mode in the Edwin created from rss file!

    Hi Priju,

    Here is another work arround for that. Make sure that you have over-rided the following funtions from CCoeControl to your Container class.

    Code:
    TInt CountComponentControls() const
    CCoeControl* ComponentControl(TInt aIndex) const
    TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType)
    And inside your OfferKeyEventL() you have to call this function:

    Code:
        iEdwin->OfferKeyEventL(aKeyEvent, aType);

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Enable T9 mode in the Edwin created from rss file!

    In the Settings application, normally in the Tools folder, select "Phone" from the list of settings, select "General". The last setting in the settings list is whether or not predictive text is on or off

Similar Threads

  1. Replies: 1
    Last Post: 2005-05-26, 14:22
  2. edwin control is not getting into editable mode
    By shilpav in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-01-14, 00:43
  3. Fileselection dialog ignores rss file
    By Josie60 in forum Symbian User Interface
    Replies: 3
    Last Post: 2003-11-25, 15:38
  4. Replies: 0
    Last Post: 2002-06-10, 12:24
  5. Unable to open a newly created text file?
    By yuva69 in forum Symbian
    Replies: 1
    Last Post: 2002-06-06, 14:09

Posting Permissions

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