FIX: ListView and Item Spacing (143406)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q143406 SYMPTOMS
The spacing between items in the ListView control changes, getting closer
together when you change the BorderStyle property after adding listitems to
the listview control. The problem occurs for Icon and SmallIcon views when
the items include images.
RESOLUTION
You can work around this problem by setting the Arrange property to
lvwAutoLeft or lvwAutoTop after setting the BorderStyle property and before
adding listitems to the listview control.
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
5.0.
| Modification Type: | Major | Last Reviewed: | 12/9/2003 |
|---|
| Keywords: | kbbug kbfix KB143406 |
|---|
|