BUG: Masked Edit Control Does Not Appear 3D at Run-time
Article ID: 156193
Article Last Modified on 4/18/2003
APPLIES TO
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 16-bit Enterprise Edition
This article was previously published under Q156193
SYMPTOMS
The 16-bit version of the Masked Edit control ignores the setting of the
Appearance property at run-time and will not paint using any 3D effects.
WORKAROUND
Following are two methods to work around this behavior:
- Place the Masked Edit control inside a Picture Box control. Set the
Picture Box's TabStop property to False, and then size the Picture Box
to the desired dimensions.
- To the form containing the Masked Edit control, add an Image control
with its BorderStyle property set to FixedSingle and its Appearance
property set to 3. Then, reposition and resize the Image control to act
as the 3D border for the Masked Edit control.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. Microsoft is researching this
issue and will post new information here in the Microsoft Knowledge Base as
it becomes available.
Keywords: kbbug kb16bitonly kbctrl KB156193