|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
InterceptArrowsKeys Property of NumericUpDown ControlI 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 Hello Samuel,
> I set this property to False so the controls will be ReadOnly (when I I'm not sure why the behavior is that way (I can repro it on my machine). > set the ReadOnly property to true) but the arrow keys still > .increment/decrement the value in the NumericUpDown control > > Any clue? Another trick is to set the Increment property to 0. That will get the behavior you're looking for. -- Jared Parsons [MSFT] jared***@online.microsoft.com Good idea
Thank you, Samuel Show quoteHide quote "Jared Parsons" <jared***@online.microsoft.com> wrote in message news:61f143b1b548c868d30a0fa6ed@msnews.microsoft.com... > 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. > -- > Jared Parsons [MSFT] > jared***@online.microsoft.com > > |
|||||||||||||||||||||||