NumericUpDown control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rupali
    New Member
    • Aug 2012
    • 25

    NumericUpDown control

    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?
  • ariful alam
    New Member
    • Jan 2011
    • 185

    #2
    @rupali, it's better to show your code here. that may help to answer.

    Comment

    • rupali
      New Member
      • Aug 2012
      • 25

      #3
      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.

      Comment

      • ariful alam
        New Member
        • Jan 2011
        • 185

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

        Comment

        • rupali
          New Member
          • Aug 2012
          • 25

          #5
          Ya I will try this solution.

          Thanks

          Comment

          Working...