Skip to content

TMaskUtils.TryValidateInput

Declaration

Source position: maskutils.pp line 107

public 
function TMaskUtils.TryValidateInput(out ValidatedString: string)
                                     : Boolean;

Description

TryValidateInput checks that the text in Value satisfies the given mask in Mask and returns True if it does, False otherwise. It returns Value with the mask applied to it in ValidatedString.

See also

Name Description
ValidateInput Check that the Value text is valid for the given mask.
Value (input) String value to validate.
Mask The edit mask to use.