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

TMaskUtils

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class to manipulate and work with edit masks.

Declaration

Source position: maskutils.pp line 80

type TMaskUtils = class(TObject)

public

  function ValidateInput;

  

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

  function TryValidateInput();

  

  property Mask: string; [rw]

  

The edit mask to use.

  property Value: string; [rw]

  

(input) String value to validate.

  property InputMask: string; [r]

  

Text to be used as input mask.

end;

Inheritance

TMaskUtils

  

Class to manipulate and work with edit masks.

|

TObject

Description

TEditMask can be used to work with edit masks. It is used in the FormatMaskInput, FormatMaskText and MaskDoFormatText calls to do the actual work.

In general, the work is done by setting the Mask and Values properties, and reading the InputMask property or calling one of ValidateInput or TryValidateInput.

See also

Mask

  

The edit mask to use.

Values

  

(input) String value to validate.

InputMask

  

The edit mask to use.

ValidateInput

  

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

TryValidateInput

  


Documentation generated on: Nov 22 2024