SDL Component Suite - NumIO

The unit NUMIO contains a Delphi™ / C++ Builder visual component which supports the fail-safe input of numeric values. The user may select upon several numeric formats (binary, octal, three different decimal formats, and hexadecimal), and can optionally constrain the range of valid numbers. The component performs online type and range checking, so that the user is prevented from inputting any invalid numbers. At right you see a small application of a TNumIO control. The format of the yellow TNumIO control is switched to itHex, thus accepting hexadecimal numbers. The silver control below the TNumIO control displays the decimal representation of the entered hex value. More details can be found in the online help pages.

The unit NUMIO is part of the SDL Component Suite.


 


What's new:

  • Release 12.0   [Dec-12, 2023]
     
  • Release 10.7   [Aug-24, 2020]
     
    • no changes

  • Release 10.6   [Mar-09, 2018]
     
    • bug fix: the TNumIO2 component did not accept exponential notation when the InputFormat was itDynamic
    • TNumIO2 supports now the KeyPreview property of the parent form

  • Release 10.5   [Oct-10, 2016]
     
    • no changes

  • Release 10.4   [Jun-02, 2015]
     
    • no changes

  • Release 10.3   [Oct-06, 2014]
     
    • bug fix: values of the property ButtonPivots were not correctly processed when clicking the gauge bar

  • Release 10.2   [May-30, 2013]
     
    • no changes

  • Release 10.1   [Oct-29, 2012]
     
    • properties RangeLow and RangeHigh are now hard limits for changes initiated by the buttons
    • bug fix: blinking caret has not been switched off when component is in readonly mode
    • bug fix: gauge did not use pivot points (property ButtonPivots)
    • bug fix: vertical alignment of LeftText is now correct
    • bug fix: OnMouseUp did not call inherited event

  • Release 10.0   [Oct-4, 2011]
     
  • Release 9.7   [May-31, 2010]
     
    • the new public variable ButtonPivots allows to predefine a list of button pivot points
    • the new method OutOfRange checks the validity of the current value
    • up/down button in TNumIO2 now triggers OnChange event
    • bug fix: TNumIO2.InputFormat = itDynamic works now as expected (did not accept floating point numbers)
    • bug fix: isolated plus and minus signs are now allowed in TNumIO2
    • bug fix: enabled/disabled states are now reflected in the button as well
    • bug fix: TNumIO2 now accepts characters from numeric key pad, as well

  • Release 9.51   [Dec-01, 2008]
     
  • Release 9.5   [Oct-31, 2008]
     
  • Release 9.0   [May-28, 2007]
     
    • new component TNumIO2 is an improved replacement of the existing TNumIO component (which is no longer supported but still part of the SDL Component Suite for backward compatibility).
    • type declaration TDecPSep moved from unit SDL_numio to SDL_sdlbase

  • Release 8.5   [Feb-18, 2006]
     
  • Release 8.2   [Nov-03, 2004]
     
    • no changes

  • Release 8.1   [Aug-29, 2004]
     
    • available for Delphi™ 8 for .NET

  • Release 8.0   [Apr-15, 2004]
     
    • no changes

  • Release 7.2   [Mar-23, 2003]
     
  • Release 7.0   [Sep-15, 2002]
     
    • available for Delphi™ 7.0
    • the unit is now CLX compatible
    • new input type: itFixPoint
    • new property FixPointDecPlaces
    • decimal separator can now be set to system locale
    • bug fix: NumIO has now correct parent when putting it on a Panel or GroupBox

  • Release 6.5   [May-28, 2002]
     
    • available for C++Builder™ 6.0

  • Release 6.0   [Aug-06, 2001]
     
    • available for Delphi™ 6.0
       
  • Release 5.5 [Jun-09, 2000]
     
    • available for C++Builder™ 5.0
    • Text property may now contain leading blanks
       
  • Release 5.0 [Oct-07, 1999]
     
    • NUMIO is now available for Delphi™ 5.0
       
  • Release 1.1 [Apr-04, 1999]
     
    • NUMIO is now available for C++Builder™ 4.0
    • Anchors published (D4, BCB 4 only)
    • bug fixed which caused zero return value when 'e' of exponent is entered but numeric exponent is missing.
    • bug fix: spaces are not accepted anymore
    • bug fix: RangeLow=0 and RangeHigh=0 are now handled correctly (was caused by a Delphi™ bug ('stored' keyword does not work properly) )
    • bug fix: '-23.' is now handled correctly (another bug in Delphi™ ('val' procedure has a bug) )