rosshodges
Freshman
- Joined
- Nov 23, 2002
- Messages
- 28
I have the following code
Private Sub NumericUpDown2_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown2.ValueChanged
If NumericUpDown2.Value > 59 Then
NumericUpDown1.Value = +1
NumericUpDown2.Value = 0
End If
but it only makes NumericUpDown1 go up to 1 from 0 not from 1 to 2. I would like it to go like a timing device. So from 1 to 2 to 3 etc.
NumericUpDown2.Value = secs
NumericUpDown1.Value = minutes
Regards,
Ross
Private Sub NumericUpDown2_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown2.ValueChanged
If NumericUpDown2.Value > 59 Then
NumericUpDown1.Value = +1
NumericUpDown2.Value = 0
End If
but it only makes NumericUpDown1 go up to 1 from 0 not from 1 to 2. I would like it to go like a timing device. So from 1 to 2 to 3 etc.
NumericUpDown2.Value = secs
NumericUpDown1.Value = minutes
Regards,
Ross