BUG: Can't Change UserControl FontTransparent if Default = False (193401)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q193401 SYMPTOMS
When the FontTransparent property of a UserControl is programmatically set
to True, the UserControl still behaves as if FontTransparent is set to
False. The actual property value changes but the behavior does not. Once
something has been printed on the control, the FontTransparent can be
changed successfully. This problematic behavior occurs only if the
FontTransparent property is set to False in design mode.
RESOLUTION
The workaround for this problem is to always set the FontTransparent
property of a UserControl to True in design mode. If the design mode value
is True, it can be changed programmatically without incident. If it is set
to False, the problems described above will occur.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB193401 |
---|
|