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.
Unfortunately, activation email could not send to your email. Please try again.

Currency Edit Keypress

Thread ID:





4779 May 30,2003 10:04 AM May 30,2003 10:33 AM Windows Forms 1
Tags: Tools
Bob Towle
Asked On May 30, 2003 10:04 AM

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 10:33 AM

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.

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.