×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    41

    how to capture the characters entered in the ediwin control while entering the input?

    Hi,

    I want to display the characters entered in the edwin in the title bar. The edwin control is in the form. How can i do this.

    Thanks
    rajani

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,737

    Re: how to capture the characters entered in the ediwin control while entering the in

    A very basic approach could be implementing your own OfferKeyEventL method, where you could invoke CAknForm::OfferKeyEventL, and always (or conditionally, based on CEikDialog::IdOfFocusControl perhaps) get the text from the Edwin, and put it into the title pane.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    41

    Re: how to capture the characters entered in the ediwin control while entering the in

    Thanks for your reply. I just fount tha we can derive from MEikEdwinObserver and call SetEdwinObserver() function. and override handeedwinevents method. I guess i can do either of this ?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,737

    Re: how to capture the characters entered in the ediwin control while entering the in

    Yes, having an observer is more elegant - and perhaps a bit easier. Since CAknForm (and its superclasses) apparently does not implement the MEikEdwinObserver interface, you can simply put this implementation in your form class.

  5. #5
    Registered User
    Join Date
    Feb 2008
    Posts
    41

    Re: how to capture the characters entered in the ediwin control while entering the in

    Thankyou.It works now..

Similar Threads

  1. Replies: 3
    Last Post: 2009-02-28, 13:57
  2. Max chars that can be entered in Edwin control
    By msulaiman in forum Symbian
    Replies: 2
    Last Post: 2007-09-13, 16:04
  3. Replies: 4
    Last Post: 2007-09-12, 08:42
  4. Replies: 3
    Last Post: 2004-05-06, 04:00
  5. Editor control with dialable characters only
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-02-14, 05:41

Posting Permissions

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