TMaskUtils.ValidateInput function
Check that the
Value text is valid for the given mask.
Declaration
function ValidateInput: stringFunction result
Value with the editmask applied.
Description
ValidateInput checks that the text in
Value satisfies the given mask in
Mask
and returns the value with the mask applied to it. If
Value does not satisfy the mask, an exception is raised.
If you don't want an exception, use
TryValidateInput instead.Errors
If
Value does not satisfy the mask, an
Exception is raised.
See also
- TryValidateInput
- Value
- Mask
- Exception
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
