Results 1 to 6 of 6

Thread: ListView & ICompare interface

Threaded View

  1. #1

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168

    ListView & ICompare interface

    Hi to all,

    How to sort ListView columns based on particular column (Windows Explorer style) in VB.net

    I come to know from Help that in "ColumnClick" event of I have to write following code:

    VB Code:
    1. Private Sub ListView1_ColumnClick(ByVal sender As Object, ByVal e As System.Windows.Forms.ColumnClickEventArgs) Handles lvwItem.ColumnClick
    2.         Me.ListView1.ListViewItemSorter= ?
    3.         Me..ListView1.Sort()
    4.     End Sub

    ?= a class instance having ICompare interface

    But I dont understanding how to do it

    Please help

    Thanks
    Last edited by parminder; Oct 9th, 2003 at 02:21 PM.

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