Results 1 to 2 of 2

Thread: Can this be done ??? [RESOLVED !!]

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    113

    Can this be done ??? [RESOLVED !!]

    I would like to be able to set the backcolor of a column in a listview control. But... can this be done ? I know how to do the backcolor for a row but not a column.

    I hope someone can help....


    Thanks



    Here's the answer:

    1st - Set the property "UseItemStyleforSubItems" to False


    Then you can specify the color you wish for the column.

    eg. lvitem.SubItems(9).BackColor = System.Drawing.Color.Aqua
    Last edited by kerv21; Jan 21st, 2003 at 02:45 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