We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Currency Edit Keypress

Thread ID:





4779 May 30,2003 02:04 PM UTC May 30,2003 02:33 PM UTC WinForms 1
Tags: Tools
Bob Towle
Asked On May 30, 2003 02:04 PM UTC

I am trying to trap the user pressing the Enter key after entering information in the CurrencyEdit control and I want it to jump to the next field as if Tab had been hit. I've tried to check the keyvalue to be equal to chr(13) and then I don't have a clue as to how to issue a keypress of a Tab.

Davis Jebaraj [Syncfusion]
Replied On May 30, 2003 02:33 PM UTC

Hi, You can use Sendkeys.Send("{TAB}") to issue a Tab press. if (keyData == Keys.Return || keyData == Keys.Enter) { // convert enter key to tab key SendKeys.Send ("{TAB}"); } Regards, Davis


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon