CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Location
    USA
    Posts
    101

    Is it possible to re-arrange the position of colomn headers in listview?

    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



  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Is it possible to re-arrange the position of colomn headers in listview?

    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
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured