BUG: UserControl Not Printing Labels Correctly (181368)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q181368 SYMPTOMS
When printing a form containing a UserControl, the labels in the
UserControl do not print properly. A common symptom is that only the first
word of the label prints.
RESOLUTION
To work around this problem: - Set the AutoResize property of each Label control to True.
-or-
- Replace the Label control with a different control, such as a TextBox
control.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
REFERENCES
For related information, please see the following articles in the
Microsoft Knowledge Base:
174652 BUG: PrintForm Method Does Not Print Entire Form
171471 FIX: VB-Created Controls Fail to Print w/UserControl_Paint
Modification Type: | Major | Last Reviewed: | 12/10/2003 |
---|
Keywords: | kbbug kbpending KB181368 |
---|
|