J
Jon Slaughter
I would like to use the numericUpDown in it standard way but have to
features. I would like to display items instead of numbers that amp to the
numbers and have the control be "cyclic" in the sense that once it reaches
its maximum value it goes to its min and vice versa.
What I essentially want is to display something like
SomeArrayList[numericUpDown1.Value] instead of Value. I tried to override
the UpdateEditText but the problem is that now the user can enter numbers in
the text box of the numeric control. So I need to disable that in some way.
I also need to make it "cylical" but I think thats easy enough by just
adding to the changed value event.
So I guess the real issue is somehow disabling the user from entering input
to the numeric contro's text box and force it to use the up/down arrow keys
or the mouse.
Now, I also tried to use a combo box and this has similar issues(although
I'd rather use the numeric control as it allows me to get the index of the
entry directly which is easier to work with).
Is there a control that does what I want or do I have to modify my own?
Thanks,
Jon
features. I would like to display items instead of numbers that amp to the
numbers and have the control be "cyclic" in the sense that once it reaches
its maximum value it goes to its min and vice versa.
What I essentially want is to display something like
SomeArrayList[numericUpDown1.Value] instead of Value. I tried to override
the UpdateEditText but the problem is that now the user can enter numbers in
the text box of the numeric control. So I need to disable that in some way.
I also need to make it "cylical" but I think thats easy enough by just
adding to the changed value event.
So I guess the real issue is somehow disabling the user from entering input
to the numeric contro's text box and force it to use the up/down arrow keys
or the mouse.
Now, I also tried to use a combo box and this has similar issues(although
I'd rather use the numeric control as it allows me to get the index of the
entry directly which is easier to work with).
Is there a control that does what I want or do I have to modify my own?
Thanks,
Jon