|
-
Jan 18th, 2007, 08:07 AM
#1
Thread Starter
New Member
NumericUpDown
I created a form for me to do pressure conversions. For example, Atmosphere to psi, inches Hg to inches water, etc....... I am using a NumericUpDown box for the user to input the numeric value to be converted. I noticed when using a larger number such as 2300 to convert psi to bar, for example, it would change the number I entered (2300) in the NumericUpDown box to 100.00. This happens when I use a number larger than 100 in any of the conversions I try. It seems as though the largest number I can put in the NumericUpDown is 100. How can I make it to where I can input any number no matter how large? Thanks!!
-
Jan 18th, 2007, 08:13 AM
#2
Re: NumericUpDown
You ALWAYS need to have a look at what properties an object has, especially when you're creating it in the designer. The NumericUpDown has a Maximum property that is 100 by default, but you can set it to whatever you like.
-
Jan 18th, 2007, 08:43 AM
#3
Thread Starter
New Member
Re: NumericUpDown
Thanks JMC. I overlooked the mamimum property when looking in the properties window. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|