Results 1 to 2 of 2

Thread: Set Listview column header icons on right side vb6

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2018
    Posts
    3

    Smile Set Listview column header icons on right side vb6

    I have added icons to the listview column headers using an ImageList using the below code.
    Code:
    With lvwParagraphs
                Set .ColumnHeaderIcons = Me.ImageList1
                    With .ColumnHeaders
                        .Clear
                        .Add 1, "Column1", mobjApplication.GetUIString("Writer.frmSelectCrossRef.SequenceColumn"), 1300, , 1
                        .Add 2, "Column2", mobjApplication.GetUIString("Writer.frmSelectCrossRef.StyleColumn"), 1300, , 0
                        .Add 3, "Column3", mobjApplication.GetUIString("Writer.Common.Text"), 7000, , 0
                    End With
    End with
    The icon has been added to the left side of the column header.
    Could anybody please let me know is it possible to add the icon to the right side of the column header?

    Thank you.

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,901

    Re: Set Listview column header icons on right side vb6

    Maybe this article can be of any use to you:
    http://vbnet.mvps.org/index.html?cod...eaderimage.htm

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