Announcement

Collapse
No announcement yet.

Header vs Listview

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Header vs Listview

    Just want to get something clear in my head.

    Is the difference between a header control and a listview that a header control basically is like a Listview stuck in report view?

    are there any other advantanges or disadvantages in use one rather than another to store just tabular data?

    Cheers

    ------------------

    Paul Dwyer
    Network Engineer
    Aussie in Tokyo
    (Paul282 at VB-World)

    [This message has been edited by Paul Dwyer (edited February 21, 2001).]

  • #2
    A header control is just the header. Just the gray stripe that provides column labels.

    -- Eric


    ------------------
    Perfect Sync: Perfect Sync Development Tools
    Email: mailto:[email protected][email protected]</A>
    "Not my circus, not my monkeys."

    Comment


    • #3
      Paul;

      Forget the Header control unless you want to design your own ListView. The
      ListView control uses the Header control in report mode only. It is a child
      to the ListView container. But if you are interested I have some code for
      just the header you can play with. Just drop me an email request. mailto:[email protected][email protected]</A>

      Regards,
      Jules

      Comment


      • #4
        hmmmm.

        So even if all I need is a simple report view to display a list with no icons etc, a header control would not be enough? I just thought that the header control might be a bit lighter considering what I'm working on doesn't require most of the listview features.

        Thanks

        ------------------

        Paul Dwyer
        Network Engineer
        Aussie in Tokyo
        (Paul282 at VB-World)

        Comment


        • #5
          Yep, everything you see below the header in the listview report mode
          you would have to draw yourself. The header control example I have does
          draw rows and columns of text, you can also resize the columns.

          I can email to you for you to see what is involved so you can
          compare with a normal listview. I think even if you are using the listview
          in report mode for just simple display of text, it is alot less code then
          using just the header control.

          Regards,
          Jules

          Comment


          • #6
            Thanks guys!

            Much appreciated

            ------------------

            Paul Dwyer
            Network Engineer
            Aussie in Tokyo
            (Paul282 at VB-World)

            Comment

            Working...
            X