471,896 Members | 2,571 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,896 software developers and data experts.

SplitContainer.Panel VS keyDown(Enter)

Hello!!! I've got a problem of my form application that the KeyDown function doesn't work. It suppose to be go to the next textbox field within same panel control but it doesn't work, as i'm using SplitContainer.Panel in such forms. Isn't it the SplitContainer caused this problem happen? How can i solve the problem? The code that i'm use is VB 2005.

Private Sub TextBox64_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox64.KeyDown
If e.KeyCode = Keys.Enter Then
e.Handled = True
Me.ProcessTabKey(Not e.Shift)
TextBox64.Text = Format(Double.Parse(TextBox64.Text), "###,###,##0.00")
end if
End Sub
Oct 4 '07 #1
0 1277

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Fred Sawtelle | last post: by
7 posts views Thread by (Pete Cresswell) | last post: by
3 posts views Thread by Keith Smith | last post: by
3 posts views Thread by Mike L | last post: by
4 posts views Thread by Anne | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.