Results 1 to 2 of 2

Thread: [vb6] - Filter Listview User control

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,042

    [vb6] - Filter Listview User control

    this has become a favorite of mine. usercontrol that contains a listview and allows teh user functionality to filter the list based on user selected column, also has a bunch of canned functionality built in for common tasks such as sorting columns, copying data, removing items, adding entire rows of data at once etc. Very easy to convert standard listviews over to use this code.

    Code:
    lvFilter.SetColumnHeaders "test1,test2,test3*,test4", "870,1440,1440"
    
    Set li = lvFilter.AddItem("text" & i)
    li.subItems(1) = "taco1 " & i
    
    Set li = lvFilter.AddItem("text", "item1", "item2", "item3")
    lvFilter.SetLiColor li, vbBlue
    Attached Images Attached Images   
    Attached Files Attached Files
    Last edited by dz32; Jun 30th, 2023 at 06:21 AM.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,042

    Re: [vb6] - Filter Listview User control

    [removed dead video demo link]
    Last edited by dz32; Jun 30th, 2023 at 06:22 AM.

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