Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Serbia and Montenegro (Yugoslavia)
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Column Headers in ListBox Control (VB6)

    Is there a way to display a column header in a ListBox control, or am I going to have to resort to the ListView control?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Column Headers in ListBox Control (VB6)

    AFAIK, the VB6 list box doesn't support column headers; the MS Forms list box *does* but only when used with an Excel range as source. So a list view is probably the way to go. Alternatively, you can put labels above the list box, and if necessary set their captions in code.

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Serbia and Montenegro (Yugoslavia)
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Column Headers in ListBox Control (VB6)

    Thanks, Hans, I will go with the ListView

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •