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

how to enable horizontal scroll in listview?are there a conditions for that(size)?

P: 1
Hi everyone. I have visual basic comunity 2017, and a program with a form, a listview, a label and a button, with which I test cloning several Column headers with names “col 1”, “col 2”,etc.
As I add column headers, the label shows the number of columns, no matter how many. That’s
The cloning part is ok too,off course, because the label shows correctly as I add the columns. I clone hundreds if I want.
But the problem is that, no matter how many column headers get in listview, listview just can’t show neither the headers beyond the size of the listview (although label shows them growing..), neither the horizontal scroll of the listview. In other words, they are being created but can’t be seen because there’s no horizontal scrolling.
Below is the code I’m using (“visible = true” and “details view” are used when form is loaded. See the code please)
Attached Files
File Type: docx cloning headers.docx (12.9 KB, 18 views)
Mar 18 '19 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.