We help IT Professionals succeed at work.

Listview View Troubles

345 Views
Last Modified: 2013-11-26
I am having a problem with a listview on two different tabs.  The information is being added at run time so all the collections for items and such are blank.  I would like the information to stay in a single column, much like a listbox, with just a scrollbar on the right side shown as needed.  I have one control that is doing that correctly, but I have another control that seems to have all the same attributes, but groups the information into two columns with scrollbars on the right and the bottom of the control.  I have compared all the property attributes between them and I can't seem to put my finger on where the difference might be.

This is in visual basic 2008.  the listview control are the standard systems.windows.forms.listview objects.  the picture shows the control on the left that is incorrect, and the one on the right is working as intended.

 
listviews.jpg
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I understand how this is working, what I don't understand is why my other control is working correctly with smallicons as the view attribute . . . . Guess i will just set them both the detail and be done with it.  Thanks for the information.  

Author

Commented:
Thanks.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.