How do I write code for the updown control??
Posted on 2000-03-12
i need to write code using the updown control to increment or decrement a number. The user enters a number in a textbox, then after the number is entered they have the option to increment the number or decrement it. I got it to work for incrementing the number, the only problem is that when the down arrow is pressed it still increments the number. Example: Private Sub UpDown2_Change()
txtcentigrade.Text = txtcentigrade.Text + UpDown2.Increment
I am hopeless, can anyone help me??