Harikha V
Harikha V

Reputation: 11

Using Vscrollbar in C#

I want to disable the textbox control and control the numeric input to the text box control using vertical scroll bar. How can I do that?

Upvotes: 1

Views: 623

Answers (1)

Donut
Donut

Reputation: 112815

It doesn't sound like TextBox is the right control to be using; seems like you want something more like this:
enter image description here

If you're using Windows Forms, you can use the NumericUpDown control.

If you're using WPF, this question has several options listed.

Upvotes: 3

Related Questions