BUG: ListView in Report View Mode Truncates First ListItem (149264)
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
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q149264 SYMPTOMS
When the View property of the ListView control is set to 2 - List,
ListItem objects may have portions of their Text property truncated. This
results in, for example, an entry of "Thi..." instead of "This is my text".
The following article details a somewhat similar problem with the Listview
control in List mode (rather than Report Mode) and can be found in the
Microsoft Knowledge Base:
149320 BUG: First ListItem Truncated with ListView in Report View
This article outlines the different symptoms of that problem in addition to
providing a different workaround.
RESOLUTION
To fix this problem, set the column width of the ListView control before
displaying the items. Knowledge Base article 147666 explains how to set
the width of columns in a ListView control in both List and Report modes.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. Microsoft is researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbbug KB149264 |
---|
|