I am now trying to play around with ListView control in place of ListBox control, and trying to replace all my code. I have been successful by looking online and seeing how to add rows and columns etc.
However, in order to be successful, I have found that I need to ensure the column headers are NOT hidden when I add rows. Then later I hide the column headers after adding rows. If I hide the column headers BEFORE adding the rows, the code fails. It does really weird stuff like add the rows (column 1 values) as columns in the first row of the listview.
Why is that? Why does adding rows not work properly unless the columnheaders are unhidden? Thanks
Bookmarks