InterceptArrowsKeys Property of NumericUpDown Control

S

Samuel Shulman

I set this property to False so the controls will be ReadOnly (when I set
the ReadOnly property to true) but the arrow keys still .increment/decrement
the value in the NumericUpDown control

Any clue?

Samuel
 
J

Jared Parsons

Hello Samuel,
I set this property to False so the controls will be ReadOnly (when I
set the ReadOnly property to true) but the arrow keys still
.increment/decrement the value in the NumericUpDown control

Any clue?

I'm not sure why the behavior is that way (I can repro it on my machine).
Another trick is to set the Increment property to 0. That will get the
behavior you're looking for.
 
S

Samuel Shulman

Good idea

Thank you,
Samuel

Jared Parsons said:
Hello Samuel,


I'm not sure why the behavior is that way (I can repro it on my machine).
Another trick is to set the Increment property to 0. That will get the
behavior you're looking for.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top