Hi Philip,
You can do that by handling the KeyDown event
Private Sub currencyTextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles currencyTextBox1.KeyDown
If e.KeyCode = Keys.Enter Then
Me.UpdateTextBox()
End If
End Sub
Here is a sample
F21198CurrencyTextBoxEnterKey_7019.zip
Please let me know if you have any questions. Thanks.
Best regards,
Stephen.
>Is there a setting or some way I can make a currency text box accept an enter key? I have some currency text boxes with lostfocus code so when they leave it takes one and multiplies it by another and puts that in another box. I wanted to know if there was a way so that when u enter a value in the currencytextbox that when u hit ur ENTER key that it will do the same thing as when lostfocus happens. That way they can change the value and not have to leave the field to see the new change??