When I press the Enter key in NumericUpDown box, it makes a beep sound.
Is there a way to mute it?
Also, when I enter a number in NumericUpDown1 box (without using up or down arrows),
it doesn't display it instantly in TextBox1, unless I press Enter.
How do I display the NumericUpDown value instantly in TextBox1,
without pressing Enter and hearing that beep sound?
Here is the code:
Public Class Form1 Dim TB1 As Short Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged End Sub Private Sub NumericUpDown1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged TB1 = NumericUpDown1.Value TextBox1.Text = TB1

New Topic/Question
Reply




MultiQuote





|