Click to See Complete Forum and Search --> : Is it possible to re-arrange the position of colomn headers in listview?


sriky
February 23rd, 2000, 12:05 PM
Can we do that at run time? If not with listview, is there any way I can make it work?

Also I would be interested in knowing how a listview performs with 50000 records. I know there is FlexGrid control but I don't really like it's format. Any ideas?

thanks

Johnny101
February 23rd, 2000, 12:40 PM
well, when i do it, there are no rows in the list view. i build the column headers from a recordset and then fill it. you could put them in the order you want. i'm not sure about that after its populated.

i've had lots of performance problems with the listview in VB6 with over 5k rows, so 50k rows would take a long time to populate. for some reason, the vb5 list view is a lot faster. i think it's because of all the extra properties it does now, like gridlines and hover tracking and the listsubitems properties. if you want to use the list view, try to get the vb5 version. you'll notice a difference with as little as 500 rows.

hope this applies/helps,

John

John Pirkey
MCSD
www.ShallowWaterSystems.com