473,394 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

InterceptArrowsKeys Property of NumericUpDown Control

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
Jun 28 '06 #1
2 1439
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]
ja******@online.microsoft.com
Jun 28 '06 #2
Good idea

Thank you,
Samuel

"Jared Parsons" <ja******@online.microsoft.com> wrote in message
news:61************************@msnews.microsoft.c om...
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]
ja******@online.microsoft.com

Jun 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: | last post by:
Hi, I am setting the NumericUpDown .Value property and the ValueChanged event is NOT being fired. Does this ONLY get fired when I change it on the UI and not programatically? Thanks
3
by: abc my vclass | last post by:
My win-form have many numericupdown controls to applied. But numericupdown control don't like textbox, text box control can automatic selected text when got focus. Is there any method can let me...
2
by: Steve | last post by:
Hi All I am using a numericupdown in a VB.net 2005 App and set the interceptarrowkeys property to false when not in edit mode The numericupdown still scrolls the value when I click on the...
1
by: antani | last post by:
I have a groupbox in my application that contains many control as NumericUpDown and CheckBox. I would like capture event on groupbox control as changing NumericUpDown value and checkbox change ....
13
by: =?Utf-8?B?RG9uYWxkIEZpc2hlcg==?= | last post by:
Hello. I'm trying to capture a controls value: a dropdown box with two selections (either "Red" or "Blue") keeps returning the value "Red" even if "Blue" is selected?
13
by: Just_a_fan | last post by:
I am adding a bunch of controls with the code below. Problem 1: When program flow passes to "UpperChanged" when I click it, the control name is undefined. When I enter: If udUpperLim1.Value 1...
2
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hello experts, I posted a disturbing question in here:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.