×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    40

    Edwin control query

    Hi all,
    Kindly throw some light over the Edwin control issues.
    I am using a edwin control within my application where till now i can only input the numeric values, and the textual values are not shown, i know while calling SetFocus(ETrue) we can get the text value, as the focus is set on the control. But due to some architectural issues i am not been able to proceed with that way thus i explicitly need to check cases for the key event types and then calling the OfferKeyEventL for the edwin control. I know it doesn't sounds good but i don't have much options. I do tried using all the api's like setinputmodes etc.. they are of no use as per my implmentation goes. Thus kindly provide me with the much needed support as how shall i proceed with identifiying the alphabets like 'a', 'b', 'c'....etc and calling the OfferKey.....in the key event handling code
    Thanks a lot
    Rahul

  2. #2
    Registered User
    Join Date
    Feb 2005
    Posts
    40

    Re: Edwin control query

    Hi all,
    I am a little dissapointed as have got no responses from all you techinacally sound people, anyways atleast one thing i have discovered that if explicitly we need to call the Numbers or Alphabets we need to provide there Keycode values within the OfferKeyEventL() case statements fore.g
    ....
    switch(aKeyEvent.iCode)
    {
    case 50: //Equivalent to Number '1' on the device
    .....
    break;

    case 65: //Equivalent of 'a'
    ......
    break;
    }
    Now my concern is when i give the above case the key event is consumed whereas for alphabets(e.g. 65, 66 ...etc) it is not, do i need to use iScanCode than iCode or do i need to call aKeyEvent.iRepeats values.
    Can anyone throw some light over what shall be the way to handle it
    Rahul

Similar Threads

  1. Changing OK/CANCEL buttons in query control
    By srkreddy999 in forum Symbian User Interface
    Replies: 3
    Last Post: 2005-12-30, 05:42
  2. Replies: 2
    Last Post: 2005-06-01, 07:49
  3. edwin control is not getting into editable mode
    By shilpav in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-01-13, 23:43
  4. Query Control
    By jayjr81 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-06-16, 10:12
  5. Format text read from a file in Edwin Control
    By Vani in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-07-02, 06:36

Posting Permissions

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