TMaskUtils class
Class to manipulate and work with edit masks.
Declaration
TMaskUtils = class(TObject)Inheritance
- TMaskUtils
- 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
Properties
Mask | public | The edit mask to use. |
Value | public | (input) String value to validate. |
InputMask | public | Text to be used as input mask. |
Methods
ApplyMaskToText | protected | |
ValidateInput | public | Check that the Value text is valid for the given mask. |
TryValidateInput | public |
Inherited
From TObject (42)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
