RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.EditText Property

Specifies the text that appears in the window of the masked edit control.

Pascal
property EditText: string;
C++
__property AnsiString EditText;

EditText is the value of the text for the edit control after it is formatted using the EditMask. Before the text is fully entered into a masked edit control, the EditText includes a blank character for each unentered character. As characters are entered, the blank characters in the EditText are replaced by the values that the user types. 

If literal mask characters are included in the text, and no character is substituted for blanks, the values of EditText and Text are the same.

Note: EditText only applies at runtime.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!