By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,293 Members | 1,673 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,293 IT Pros & Developers. It's quick & easy.

ListView and horizontal scrollbar

P: n/a
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
Oct 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <Lu*****@discussions.microsoft.comwrote in message
news:98**********************************@microsof t.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

Oct 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.