Sets or returns the text contained in the control.
Syntax
[form.]MaskedEdit.SelText[ = string$]
Remarks
If an input mask is not defined for the Masked Edit control, the SelText property behaves like the standard SelText property for the Text Box control.
If an input mask is defined and there is selected text in the Masked Edit control, the SelText property returns a text string. Depending on the value of the ClipMode property, not all the characters in the selected text are returned. If ClipMode is on, literal characters don't appear in the returned string.
When the SelText property is set, the Masked Edit control behaves as if text was pasted from the Clipboard. This means that each character in string$ is entered into the control as if the user typed it in.
Data Type
String