-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: surajmsn
Message 1 in Discussion

hi friends,

i am writing an application where in the win form i am having 2 text boxes, on enter 
key press i have to go to the next text box and on esc the prevoius. Also i am 
attaching a dataset so on the up and down arrow keyy kress i want to navigate the 
records previous and next respecctivels. I am able to trap the Enter key press and 
escape key press . But unable to trap the up and down arror key key press i am unable 
to trap.
e.g"
**this works*********************************
If e.KeyChar = Chr(Keys.Escape) Then
            MsgBox(" Escape key pressed")
End If

If e.KeyChar = Chr(13) Then
            MessageBox.Show("Enter Key Was Pressed")
End If
**********************************************

**this dosent*****************************

    If e.KeyChar = Chr(40) Then
            MessageBox.Show("Down")
   End If
***********************************************

Please help urgent...
Regards
suraj prabhu


-----------------------------------------------------------

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]

Reply via email to