I'm using ListView control, with SmallIcons style in VB.NET. Icons are loaded fine, but when I start to scroll ListView down or up from scrollbar (clicking from arrows), rowheight drops to about half from normal in next 20-30 rows below/above upper/bottom row (depends from the scrolling position). After 1-2 seconds, ListView is "refreshed" and scrolling continues normally. When focus in on the ListView and I'm moving up/down with arrow keys or PageUp/PageDown, everything is normal. Any suggestions, what is happening? SmallIcons size is 16 * 16. Is it compulsory to set "Blank icon" with SmallIcon size to all rows, when adding them or what? Wasn't like that in VB6, how is it in VB.NET?
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.