Introduction
Trying to make my first custom control, I decided to build a textbox that will only allow numeric inputs. So I searched on the internet and found a very good control (NumericBox
). I try to reproduce it to include it in my new personal custom controls library.
Help
- Use "," or "." to put the cursor before or after a decimal separator.
- "-" if enabled negative numbers add a minus sign.
- "+" Convert negative number to positive.
- BackSpace, erase the integer part of the number.
- Del, erase the decimal part of the number.
Thanks to
- ProSoft for the great idea
Update
- 24/05/2009: Enhancement
- Added
MaxValue
and MinValue
properties
- Added
ShowThousand
separator property
- 28/01/2007: Fixed Bugs
- Deleting a number with backspace, the control eliminates two numbers
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here