ListView problems - improper sort and lines when scrolling 
Author Message
 ListView problems - improper sort and lines when scrolling

   I'm starting to use the ListView control and I've noticed a few
weird problems. Some may be me, and I'm sure that one is the control.

1) If I set .Sorted to True when in design mode, the first item added
is _always_ first in the list, and the rest are sorted properly. ???
   I've found that setting .Sorted = False, adding the items, then
setting .Sorted = True afterwards is almost twice as fast. So this is
no longer an issue, but I'm curious if it's me.

2) Whenever I scroll less than the height of the control, I get lines
between the rows. That is, if I scroll one row at a time, every row
has a line. If I scroll 5 lines, then the fifth line has a line under
it. This happens on two different systems, so I know it's not the
video. (Win95, btw)

3) I'm using Dir$ to get all file names in a directory and adding them
to the ListView. The first file name added displays improperly,
(regardless of it's location in the list after sorting). Only the
first 8 characters can be seen, and if I click on it the box is the
same size. But if I click on the file name above, then the first file
is now displayed correctly, ie; the full file name is displayed.

Mon, 31 May 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. ListView Control Lines when Scrolling up

2. Get items from Listview sorted with API:s in sorted order

3. Listview sorting problems

4. ListView scroll refresh problem

5. Problems with ListView Sorting

6. VB4a/32: Problem displaying hourglass on ListView Column Sort

7. Listview sorting by date problem

8. Listview sorting problem

9. Problems to sort a listview

10. Sorting problem with Listview control

11. ListView Sorting Problem

12. Problems scrolling through Listview (VB6)


Powered by phpBB® Forum Software