×

Discussion Board

Results 1 to 7 of 7

Thread: CEikEdwin

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    14

    CEikEdwin

    I use CEikEdwin from inside a view class derived from CCoeControl and MCoeControlObserver. At the moment, I can't input text - it only shows numbers.

    Can anyone help? Thanx

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425
    Hi,

    Interesting...what does happen in that observer interface (MCoeControlObserver). Do you catch alphakeys there ?

    Br V

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    14
    If i use my computer keyboard i can write alphanumeric, but i want to do it with the phone keys, for obivous reasons.. ;)

  4. #4
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    83
    Hmm... been there.... if it is a compound control, you need to inherit MCoeControlObserver class

    and implement the below four methods and your control should let you enter text as well as numbers.

    OfferKeyEventL()
    CountComponentControls()
    ComponentControl()
    HandleControlEventL()

    Hope this helps.

    Ash

  5. #5
    Registered User
    Join Date
    Dec 2004
    Posts
    5
    I have the same problem:
    my View class only inherite from control,
    in view class constructor i create the CEikEdwin,
    and set it input capability to westernalphabetic, but still only input number.

    after look at this thread, i both inherite my view class from control and observer, and implemented above four member function, But still the same.

    help.

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    20
    Hi there,
    The solution is simple,I believe you
    are not setting focus to the Edwin.Just use
    SetFocus() function ie. pCeikEdwin->SetFocus() and you
    can enter text from keypad.

    Kaiser

  7. #7
    Registered User
    Join Date
    Dec 2006
    Posts
    2

    Re: CEikEdwin

    I have the same problem. SetFocus do not help

Posting Permissions

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