FIX: Extra Chars in Masked Edit Cause Empty InvalidText Box (95508)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 2.0
This article was previously published under Q95508 SYMPTOMS
Entering more characters than specified in the Mask property of a Masked
Edit control generates a ValidationError event, and the InvalidText
parameter is set to the empty string.
The InvalidText parameter should be set to the value of the Text property
for the masked edit control, including the invalid character.
STATUS
Microsoft has confirmed this to be a bug in the Professional Edition
of Microsoft Visual Basic version 2.0 for Windows. This problem was
partially corrected in Microsoft Visual Basic version 3.0 for Windows.
In version 3.0, the InValidText returned has only as many characters as
allowed by the Mask. For example, if the Mask is "##" and you type "123"
the InvalidText returned is "12"
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbbug KB95508 |
---|
|