|
NateMask
is a numeric-only edit box with dynamic masking capabilities for Delphi programmers. Its
most practical usage is in financial calculator applications, but
can be used in any setting where input needs to be restricted to
numbers. Although it has been developed with U.S. standards as its
testing platform, the Windows Regional Settings characters are used
when applying masks to any input values.
NateMask
inherits from Delphi's MaskEdit component. The additional properties you'll find
on NateMask are as follows:
| |
1. |
DecimalPlaces (Integer) - Declares the number of digits allowed
after the decimal. |
| |
2. |
MaskType
(TMaskType) - Declares the type of formatting the input value
will receive. Possible mask types are: mtNone (no formatting),
mtNumber (thousands separator), mtPercent (thousands separator
and a % sign after the number), mtCurrency (thousands separator
and a currency symbol). |
| |
3. |
MaximumLength
(Integer) - Determines the maximum number of digits the user
can input. |
| |
4. |
MaximumValue
(Extended) - Defines the maximum value the component will accept.
|
| |
5. |
MinimumValue
(Extended) - Defines the minimum value the component will accept.
|
| |
6. |
NumericValue
(Extended) - Replaces the "Text" property on the standard edit
component. Since values are always numeric, this property can
be set or read. |
| |
7. |
ShowZero
(Boolean) - Determines what shows when the value of the component
is 0. If True, a zero shows. If false, the component is blank.
|
NateMask
is compiled using Delphi 4.0. The source code is available if you
need to compile it in other versions.
To download
NateMask, visit our Downloads
page.
|