NumberBox icon

NumberBox

3.9/5 1
Certified 100% CLEAN Freeware   

NumberBox is mostly a textbox, but it is designed for use with numeric values #Numeric value  #Decimal base  #Value property  #Numeric  #Value  #Decimal  

Description

Free Download

NumberBox is a textbox mostly, also developed for being used with numeric values. In addition to exposing all the standard textbox members it also provides a Value property which can be used for the setting or reading of a numeric value. Display and entry can be set to be in Hexadecimal or Decimal base. Validity can be constrained to upper and lower limits. Visual indication of validity (different colour backgrounds) is available, and a .Validate function (returning True or False) provided for convenience. An optional spin button (made from standard buttons - does not require common controls OCX) can be displayed which allows the user to easily increase or decrease the value in the NumberBox by a specified step.

A Style property is exposed which lets you select whether the NumberBox should accept entry in Hexadecimal or Decimal. The Value property will still work in the same way for either mode, returning the actual numeric value entered. So if the NumberBox is in Hex mode and the user enters 10, the Value property return 16. If the Style property is then changed to Decimal (LongInteger) the NumberBox changes to display 16, and the Value property remains as 16.

Whenever the user changes the text in the NumberBox the validity of what they have entered is checked. There are three possible states, either the NumberBox is blank, contains a valid number (or Hex String, depending on the Style property), or contains an invalid number. If the ValueLimited property is True then validity includes being between or equal to the UpperLimit and LowerLimit properties, otherwise any numerical value is considered value. The three colour properties ValidColour, EmptyColour and InvalidColour define the colours which should be used as the NumberBox background colour to indicate the current validity of what has been entered. This behaviour can be switched off by setting the UseColours property to false, in which case the BackColour property is always used as the background colour. Validity can always be found by calling the Validate method, which returns true if the current entry is valid, or false otherwise.

If the UseButtons property is True then Spin Buttons will appear by the side of the text entry area. These can either stretch vertically to fill the full height of the control, or remain at the standard size at the top right corner. This behaviour is set by the StretchButtons property. The user can also use the Up and Down arrow keys as an alternative to clicking on the buttons. The value is adjusted by an amount set in the ButtonStep property for each click. If the NumberBox is ValueLimited then when clicking the button would bring the value outside the valid region it becomes disabled. The Spin Buttons can not recieve the focus under any circumstances, so it is possible to tab past the NumberBox control with one Tab press. Events are exposed to notify when these buttons are clicked.

NumberBox 1.00

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows All
  file size:
31 KB
  filename:
avNumberBox.zip
  main category:
Programming
  developer:
  visit homepage

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

% discount
Context Menu Manager
  • Context Menu Manager
  • Microsoft Teams
  • Bitdefender Antivirus Free
  • Zoom Client
  • IrfanView
  • calibre
  • 4k Video Downloader
  • Windows Sandbox Launcher
  • 7-Zip
  • ShareX
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy