SplitContainer.Panel VS keyDown(Enter)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KalupaPaluku
    New Member
    • Sep 2007
    • 6

    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_KeyDo wn(ByVal sender As Object, ByVal e As System.Windows. Forms.KeyEventA rgs) Handles TextBox64.KeyDo wn
    If e.KeyCode = Keys.Enter Then
    e.Handled = True
    Me.ProcessTabKe y(Not e.Shift)
    TextBox64.Text = Format(Double.P arse(TextBox64. Text), "###,###,##0.00 ")
    end if
    End Sub
Working...