Sign in Join
FPDoc Onlineexperiment

TMaskUtils class

In unit MaskUtils

Class to manipulate and work with edit masks.

Declaration

pascal
TMaskUtils = class(TObject)

Inheritance

  1. TMaskUtils
  2. 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

MaskpublicThe edit mask to use.
Valuepublic(input) String value to validate.
InputMaskpublicText to be used as input mask.

Methods

ApplyMaskToTextprotected
ValidateInputpublicCheck that the Value text is valid for the given mask.
TryValidateInputpublic

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.