.net compact framework combo box selection

Posted on 2006-03-28
Last Modified: 2008-03-06
Hello All,

I am writing an app for Pocket PC 2003 using What I am trying to do is fill a combo box from a data table and then when the user selects the option from the combo box (by scrolling) and presses the enter key (either on the screen or on the PDA) call a function. I can do this no problem with a text box but not a combo box...please help as this is rather urgent.

Thank you in advance
Question by:gcheg_bca
    LVL 1

    Expert Comment

    You probably just need to get the right event for the combobox.  Are you trying the click event or the selectedindexchange event?

    Expert Comment

    Where are you actually having the problem. Filling the combo box, or just trapping that the user has hit the enter key?

    Expert Comment

    BTW... Pocket PCs don't have Enter keys do they???

    Author Comment

    After doing lots of searching I have found the answer myself. I had tried all of the events for a combo box but none of them were triggered on a key press. What I have found is that the .Net Compact Framework 1.0 sp3 is required to trap a key press. Other versions of the compact framework v1.0 do not work for PPC2003.
    BaXt0R to answer your question some PDA's do have keyboards as an attachment or a slide out and they all have the capability of a soft keyboard displayed on the screen.

    Accepted Solution

    Closed, 500 points refunded.
    The Experts Exchange
    Community Support Moderator of all Ages

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    INTRODUCTION We all know how to code. But at times you simply want to insert a common code block into your existing code and amend it as per your requirements. This tool not only saves you time but also saves you the pain of typing it all out aga…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now