×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    13

    CEikTextListBox input handling

    I have dynamically created a CEikTextListBox in the xxxContainer::ConstructL() and I've added some strings to it and set the size.

    The problem is that I can't change the active string in the list with the arrow keys. (In the emulator I can change it with the mouse)

    Any ideas?

    /Patrik

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    371

    RE: CEikTextListBox input handling

    Hello Patrik,

    First, you have to implement OfferKeyEventL() for your container class and forward key events to the list box. Then you have to call CEikAppUi::AddToStackL(yourContainer). Check out the compound controls example in the download area of Forum Nokia web site. I guess you get pretty good idea what you have to do by going through the example code. There are also former similar postings in this discussion group, which might help you.

    Best Regards,
    Marko / Forum Nokia

Posting Permissions

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