469,271 Members | 1,370 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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 1238

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 suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.