Results 1 to 2 of 2

Thread: ListViews......HELP!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 1999
    Posts
    22

    Post

    OK,

    This would be my first time attempting to use a listview and I am totally in a ramp here. I can not figure out how to add text, infomation, what you want to call it to a single column...hell to any column if you want to get specific.

    Anyways, I would be completely greatfull if I could get some help on this, thank you for who answers
    - m i k e l (Nirami..)
    Intermediate Programmer

    Homepage: INFLUX:arts.
    e-mail: [email protected]
    ICQ: 17527422

  2. #2
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547

    Post

    Ok it goes somthin like this!


    First of all make sure u set the View property to lwvReport
    or something like that. (Sorry its 1:00am)... errr, next...

    'Adding to colums
    ListView1.ListItems(1).ListSubItems(1 or 2 or 3 or however many you've got).Add , , "Hey!"

    If u wanna just add it to the first column or whatever then do..
    ListView1.Listitems.add ,,"Hey meikel"

    if u want a icon to it, bind it to a picturelist.. no imagelist (its late) and set the small icon property.
    ListView1.SmallIcons = "KEY OF THE ICON IN IMAGELIST!"

    Hopefully this helps, if not ill try again when im actually not tired.

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