Unit 'MaskUtils' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TMaskUtils.TryValidateInput

Declaration

Source position: maskutils.pp line 107

public function TMaskUtils.TryValidateInput(

  out ValidatedString: string

):Boolean;

Arguments

ValidatedString

  

Value with Mask applied to it.

Function result

True if Value satisfies Mask.

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

ValidateInput

  

Check that the Value text is valid for the given mask.

Value

  

(input) String value to validate.

Mask

  

The edit mask to use.


Documentation generated on: Nov 22 2024