FIX: BackColor of MaskEdBox Control Changes When Enabled=False (174321)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual Basic Professional Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual Basic Enterprise Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q174321 SYMPTOMS
When you set the Enabled property of the Masked EditBox control to
False, the Backcolor of the control changes and cannot be changed
to another color.
CAUSE
When you set the Enabled property of the Masked EditBox control to
False, the Backcolor of the control changes to the Windows Control
Panel setting for "3D Objects." This problem occurs under the
following circumstances: - You are using Visual Basic version 4.0.
- or -
- You are using Visual Basic version 5.0 on Windows 95, Windows 98, or Windows Me.
RESOLUTION
To work around this problem, place the Masked Edit control inside
a PictureBox control. Then, to disable the Masked Edit control,
set the Enabled property of the PictureBox to False.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Basic
6.0.
Modification Type: | Major | Last Reviewed: | 2/24/2004 |
---|
Keywords: | kbBug kbCtrl kbfix kbVBp600fix KB174321 |
---|
|