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

Currency Edit Keypress

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.

1 Reply

DJ Davis Jebaraj Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon