[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Class to manipulate and work with edit masks.
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; |
|
Class to manipulate and work with edit masks. |
|
| | ||
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.
|
The edit mask to use. |
|
|
(input) String value to validate. |
|
|
The edit mask to use. |
|
|
Check that the Value text is valid for the given mask. |
|
|