Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. List View Scroll Bar

List View Scroll Bar

Scheduled Pinned Locked Moved C#
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    half life
    wrote on last edited by
    #1

    Hi, i'd like to know if there's a property to cause the scroll bar in the listview to always be down, "autoscroll" Like whenever a new item is added the scroll bar goes with the new item ant Suggestions?? THANKS :)

    Have Fun Never forget it

    T M 2 Replies Last reply
    0
    • H half life

      Hi, i'd like to know if there's a property to cause the scroll bar in the listview to always be down, "autoscroll" Like whenever a new item is added the scroll bar goes with the new item ant Suggestions?? THANKS :)

      Have Fun Never forget it

      T Offline
      T Offline
      TJS4u
      wrote on last edited by
      #2

      hello horizontal scroll bar is thr for the list view use the Expandall(),Collapseall().... properties of the listview to avoid the vertical scroll bar thanks

      1 Reply Last reply
      0
      • H half life

        Hi, i'd like to know if there's a property to cause the scroll bar in the listview to always be down, "autoscroll" Like whenever a new item is added the scroll bar goes with the new item ant Suggestions?? THANKS :)

        Have Fun Never forget it

        M Offline
        M Offline
        moon_stick
        wrote on last edited by
        #3

        Do you mean that you want the list view to automatically scroll to the item you've just added? If so, you need to use the following code: ListViewItem lv = this.listView1.Items.Add(new ListViewItem("new item")); lv.Selected = true; lv.Focused = true; listView1.TopItem = lv; HTH

        It definitely isn't definatley

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups