Vcl.Mask.TCustomMaskEdit.MaskState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MaskState: TMaskedState read FMaskState write FMaskState;

C++

__property TMaskedState MaskState = {read=FMaskState, write=FMaskState, nodefault};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

Description

Indicates state information about how the mask is being applied.

MaskState is used internally to determine appropriate actions based on how the mask is currently being applied. MaskState is a set drawn from among the following values:



Value Meaning

msMasked

A mask has been assigned. MaskState includes msMasked when IsMasked is true.

msReEnter

An invalid character has been rejected and the next edit should be a valid replacement character.

msDBSetText

The text comes from a database field and should not be validated.



MaskState is exposed as a protected property so that derived classes can maintain and use this state information in the implementation of properties and methods.

See Also