Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 629833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:47:25+00:00 2026-05-13T19:47:25+00:00

I have a Windows Mobile application in C#. I have a couple of fields

  • 0

I have a Windows Mobile application in C#.
I have a couple of fields on the form, and when I hit enter I want the form submitted.

Is there a way to mark a pushbutton as default?
Also how can I make so the Down key moves the focus into the next field? Tab-order is not respected?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:47:25+00:00Added an answer on May 13, 2026 at 7:47 pm
    1. You can have a method that you link as the KeyDown event on all the controls from that form. In that you check if the KeyCode is Enter then you call the Submit method.

      private void control_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
      {
      if (e.KeyCode == Keys.Enter)
      Submit();
      }

    2. Same thing, in the KeyDown method you handle the DownArrow key. Im not sure if you have the System.Windows.Forms.Control.SelectNextControl() method in the Compact Framework, but if you don’t have it you can easily build something like that by yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a windows mobile application in Visual Studio. I want to templatize
Is there a way to close MessageBox after several seconds in Windows Mobile application
I have a Windows Mobile Desktop Application that have some text fields which will
I have a Windows Mobile application in which I want to check the device
Hello frnds I have windows mobile application, that retrieves location info. Now i want
I have an game application I have written for Windows Mobile and I want
i have an windows mobile application written in c# compact framework which use barcode
I have a windows mobile 5.0 application (smartphone) that contains a flat data file
I have a Windows Mobile 6.0 application with SQL Server CE 3.5 on the
I have the following problem: I implemented a managed mobile application for Windows Mobile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.