Results 1 to 3 of 3

Thread: ListView

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Dayton, OH USA
    Posts
    119
    How do I add column headings to a listview control? I tried this but it does not work:


    ListView.ColumnHeaders.Clear
    ListView.ColumnHeaders.Add , , "Title", 2000
    ListView.ColumnHeaders.Add , , "Author"
    ListView.ColumnHeaders.Add , , "Year", 350
    ListView.ColumnHeaders.Add , , "ISBN"

    What am I doing wrong???? I tried right clicking on the control and adding column headers via properties and once again no go.....

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Posts
    94
    What type of view is it in? Column headers only appear if you set the view to "3 - lvwReport".

    Cthulhu Dragon

  3. #3
    Lively Member
    Join Date
    Jul 2000
    Posts
    104
    Code:
    ListView1.View = lvwReport

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