ListView and horizontal scrollbar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lubomir

    #1

    ListView and horizontal scrollbar

    Hi,

    I have a ListView with one column and no header. How to display the
    horizontal scrollbar if one of the items is too long?

    Scrolable property is set to true.

    Thanks,

    Lubomir
  • Stoitcho Goutsev \(100\)

    #2
    Re: ListView and horizontal scrollbar

    Lubomir,

    If you have only one column with no caption do you really need to use
    ListView? Can you just use simple ListBox?

    However If you want to use ListView you need to set up the listview to show
    its items in *Details* mode = View property. Doing this the ListView will
    show the horizontal scorll bar based on the width of the column. That means
    you need to right code to keep the column width and the ListView control
    width the same.


    --
    HTH
    Stoitcho Goutsev (100)


    "Lubomir" <Lubomir@discus sions.microsoft .comwrote in message
    news:98F20BB4-D907-474B-B366-1B0B53240223@mi crosoft.com...
    Hi,
    >
    I have a ListView with one column and no header. How to display the
    horizontal scrollbar if one of the items is too long?
    >
    Scrolable property is set to true.
    >
    Thanks,
    >
    Lubomir

    Comment

    Working...