문제

I am looking for a while how to change the increase value of numericupdown in vb.net and can't find any resources online.

What I mean is, when you have a numericupdown with value 1,000 and minimum of 0, maximum of 100,000, I want to make it when someone clicks the increase arrow, the value to increase by 1,000 for example.

도움이 되었습니까?

해결책

You can control the minimum and maximum values like this:

Me.NumericUpDown1.Minimum = 0
Me.NumericUpDown1.Maximum = 100000

You can define the increment like this:

Me.NumericUpDown1.Increment = 1000
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top