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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Currency Edit Keypress

Thread ID:

Created:

Updated:

Platform:

Replies:

4779 May 30,2003 02:04 PM UTC May 30,2003 02:33 PM UTC WinForms 1
loading
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

CONFIRMATION

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.

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

;