Malfunctioning NumericUpDown tools

Stephen H. Jones 40 Reputation points
2023-05-15T17:49:29.76+00:00

My NumericUpDown entries behave differently on the same form. All have one decimal point. ,Net Framwork 4.7.2 in VS/VB 2019 Pro. Some take direct entry (i.e. "2.3" typed in directly works). The others either quit with the first digit (entering a "1" immediately displays "1.0" and then tries to add the next digit before the "1") and when you try to enter another digit or the decimal point, it immediately jumps to displaying the Maximum value setting. All of these NumericUpDown entries have exactly the same property settings (except of course the names and positions and tab indexes). Why are some of them misbehaving?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,198 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,004 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
351 questions
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2023-05-16T07:14:18.7133333+00:00

    Hi @Stephen H. Jones, 

    Welcome to Microsoft Q&A! 

    Please update your Visual Studio with Visual Studio Installer and create a new project to add the NumericUpDown control.

    Then, check if it displays normally in this new project. 

    Besides, please check the DecimalPlaces property.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.