The information in this article applies to:
Traditionally, to clear the text of a MaskedEdit control, you would set the control's Mask Property to an empty string, and then set its text property to an empty string:
Here's a better method. Modify the Mask property according to the following steps. Then assign the Mask property to the text property of the MaskedEdit control:
(###) ###-#### Ext(#####) and the PromptChar value is an underscore (_), use the following piece of code to clear all the text and set the focus back to the MaskedEdit control:
Additional query words: 3.00 formatted format MaskEdit Masked Edit
Keywords : |
Last Reviewed: June 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |