Windows Forms ListView BUGSSSSS?????

  • Thread starter Thread starter twick10
  • Start date Start date
T

twick10

Hi All,

Is anybody aware or significant bugs in the Windows Forms ListView control??
I am having serious problems trying to switch from Large and small icon
views to detail views. What looks fine in Large and small icon views shows
up as lines on detail view and blank screen in File listing.

If I do some brute force restating of columns (they were defined before) and
imagelists I can get it to show up with double the number of columns and I
still can't get it to show up with the imagelist I want.

I understood the .Clear was for the Items.????

Robert
 
Is anybody aware or significant bugs in the Windows Forms ListView
control??

You might want to ask in
microsoft.public.dotnet.framework.windowsforms.controls if you don't get an
answer here.
 
Hi, I'm not entirely sure I understand your problem, could you describe the
problem again please? What are you trying to do, What should happen and what
is happening.

Thanks!

--
HTH,
-- Tom Spink, Über Geek

Woe be the day VBC.EXE says, "OrElse what?"

Please respond to the newsgroup,
so all can benefit
 
I understood the .Clear was for the Items.????


Hi Robert

MyListView.Clear will clear the columns of your listview.
MyListView.Items.Clear will clear the items.
At the moment your calling clear on the wrong collection.

I think the problem will be more with your understanding of the control
rather than the control itself. Im not aware of any "bugs" such as this....
stick with it though because its a handy little number.

Im surprised that you are getting x2 the number of columns if you are
calling clear on them rather than on items. I would have expected that you
would get x2 the number of items?

As for imagelists, you do understand that the image list is changed
depending on the View mode you are running the control under?

If you need further help then dump a "little" code.

hth
Richard
 
* "twick10 said:
I understood the .Clear was for the Items.????

The ListView's 'Clear' method will remove the columns too. Call the
'Clear' method of the listview's 'Items' collection to remove the items
only.
 
Thanks for those suggestions.

I think part of it is understanding the listview control. I did NOT know
about the .items.clear. Thanks for that.

I am still having some issues with the image list. I will repost when I
have more specifics.

Robert
 
Back
Top