Results 1 to 4 of 4

Thread: Any way to add image to a ListView SubItem?

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Atlanta, GA
    Posts
    2
    You can obviously add an icon to a listItem, but is there anyway to add a graphic to a ListView SubItem (in lvwReport)? I have a column in my listView where the value can be "yes" or "now", and I would like to use a gaphic check for yes and a graphic X for no.

    Thanks for any help...

  2. #2
    Member
    Join Date
    May 2000
    Posts
    63
    In VB6 you can. Use the Listitems.add method as usual.

    Add each subitem with the listitems(x).subitems.add method

    then listitems(x).sutitems(y).reporticon = <icon>

    you can have an icon for each listsubitem


  3. #3
    Member
    Join Date
    May 2000
    Posts
    63
    i had a typo...

    listitems.add

    then listitems(x).listsubitems.add

    listitems(x).listsubitems(y).reporticon = <icon>

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Atlanta, GA
    Posts
    2
    That's what I needed! Thanks for your help...

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