Results 1 to 3 of 3

Thread: Microsoft Windows Common Controls 6 / ListView

  1. #1

    Thread Starter
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155

    Smile

    I've had a heck of a time finding a good example to do some simple appending to a ListView in ReportView mode. I finally figured it out (for a database search result form) so if anyone else has had the trouble ive had... here ya go!
    Code:
    With ListView1.ListItems.Add()
       .Text = "Column 1"
       .SubItems(1) = "Column 2"
       .SubItems(2) = "Column 3"
    End With
    ListView1.View = 3 ' lvwReport
    ListView1.FullRowSelect = True

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    If you had problems finding out how to use a ListView why didn't you ask us?

    ListViews are a bit puzzling until you get use to them but are really quite straight forward.
    Mark
    -------------------

  3. #3

    Thread Starter
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155

    Cool

    I would have asked but I just found VB-WORLD.NET a couple days ago and I didn't really want to bug anyone with something that [i felt] was that simple.

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