By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,617 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

NumericUpDown control

P: 25
Hello,

I have to show percent values in numericupdown control.
suppose the value is 30%.
When user clicks in the control it should show 0.3 and on lost focus it should show 30%.

I checked but could not find text formatting.

Is this possible in numericupdown control?
Aug 16 '12 #1

✓ answered by ariful alam

I found a similar post here. it can be helpful for you.

Share this Question
Share on Google+
4 Replies


ariful alam
100+
P: 185
@rupali, it's better to show your code here. that may help to answer.
Aug 16 '12 #2

P: 25
Ariful,

I have not done any coding yet.
I have just placed the control on the form
with properties as
minimum value as 0, maximum value as 100
and Increment property as 1

When the form is shown, in the numericupdown control shows value as 0.
when I click on up button it shows 1.
when I click on down button it will again show as 0.

But I want to display as 1%, 2%... 100%

In short I just want to format the data in the control.
Aug 16 '12 #3

ariful alam
100+
P: 185
I found a similar post here. it can be helpful for you.
Aug 16 '12 #4

P: 25
Ya I will try this solution.

Thanks
Aug 16 '12 #5

Post your reply

Sign in to post your reply or Sign up for a free account.