Results 1 to 3 of 3

Thread: [RESOLVED] Columns to a ListView

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    5

    Resolved [RESOLVED] Columns to a ListView

    Is it possible to add Columns to a ListView manually or does it have to be done at runtime?

  2. #2
    Fanatic Member vbasicgirl's Avatar
    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    1,016

    Re: Columns to a ListView

    Yes, Go to its propertys and select the columnheaders tab and start inserting your columns.

    Casey.

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Columns to a ListView

    You can add columns at runtime...

    vb Code:
    1. Private Sub Form_Load()
    2.     With ListView1
    3.         .View = lvwReport
    4.         .ColumnHeaders.Add , , "Column1"
    5.         .ColumnHeaders.Add , , "Column2"
    6.     End With
    7. End Sub

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