RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit Class

TCustomMaskEdit is the base type for edit controls that provide a mask for checking the validity of text typed into the control.

Pascal
TCustomMaskEdit = class(TCustomEdit);
C++
class TCustomMaskEdit : public TCustomEdit;

TCustomMaskEdit introduces new properties and methods to expand the capabilities of TCustomEdit for validity checking using an edit mask. To create an edit control that takes advantage of the masking capabilities of TCustomMaskEdit, use a TMaskEdit object. To create an edit control that does not validate the input, use the TEdit object instead. 

Do not create instances of TCustomMaskEdit. Use TCustomMaskEdit as a base class when declaring control objects that implement a masked edit control. Properties and methods of TCustomMaskEdit provide basic behavior that descendant classes inherit as well as behavior that components can override to customize their behavior. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!