Results 1 to 2 of 2

Thread: [vb6] - Filter Listview User control

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2015
    Posts
    400

    [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.

    https://github.com/dzzie/libs/tree/master/filterList

    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; Nov 27th, 2020 at 07:17 AM.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2015
    Posts
    400

    Re: [vb6] - Filter Listview User control

    ended up doing a video demo on this user control, I pretty much cant live without it at this point.

    https://www.youtube.com/watch?v=3R7RJr60rVg

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