-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: dotnet_ramu
Message 1 in Discussion
hi, we used to move to next control in vb 6.0 by doing 3 things like set the Form's
KeyPreview Property to True , 2ndly in the Form's Form_KeyDown event check for the
Enter Key Pressed or not and by using sendkeys "{TAB}". Finally Set the Tab Order of
the Controls in the way you want. In dot net how do in do this?
I tried same things like i set the keypreview of the form to True and in the form's
Key_down event i am stuck. What should i give Private Sub Form1_KeyDown(ByVal sender
As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Enter Then End If End Sub thanks in adv..
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]