473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Windows Forms ListView BUGSSSSS?????

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
Nov 20 '05 #1
5 1341

"twick10" <tw*****@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl...
Is anybody aware or significant bugs in the Windows Forms ListView

control??

You might want to ask in
microsoft.public.dotnet.framework.windowsforms.con trols if you don't get an
answer here.
Nov 20 '05 #2
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
"twick10" <tw*****@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl...
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

Nov 20 '05 #3

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
Nov 20 '05 #4
* "twick10" <tw*****@hotmail.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
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

"twick10" <tw*****@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl...
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

Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Saso Zagoranski | last post by:
Hi! I would like to know whether there is a component included in .net fw, which resembles Windows explorer table, where you have: filename file size ... Or has anyone else created...
15
by: Wiktor Zychla | last post by:
today we've found a critical issue regarding the ListView from Windows.Forms. it was confirmed on several machines with Win2K and XP. here's the problem: create a ListView with about 50000 rows....
2
by: Aaron Queenan | last post by:
Is there any way to know whether the OnItemCheck is being called in response to a user action (mouse or keyboard) as opposed to the form loading? I have a class which derives from...
2
by: Raed Sawalha | last post by:
i have a windows form(Main) with listview, when click an item in listview i open other window form (Sub) which generate the selected item from parent window in as treeview items when click any item...
3
by: Bill Kinnersley | last post by:
I have a Windows Form with a very large ListView, about 10,000 items. There is a very significant delay each time the form is opened (ShowDialog) or closed (Hide). The ListView has not been...
2
by: Ryan Liu | last post by:
Hi, Can someone give me a hlep on inherited user control? I try to inherite windows forms user control, like ListView. From Visual studio 2003, I right click a folder and selct "Add...
1
by: Bob Johnson | last post by:
I'm looking to provide users of a new Windows Forms (2.0) app with a messaging system that looks and feels very much like a typical news reader. I understand that there are reference apps available...
4
by: Douglas Peterson | last post by:
I created the following code: private struct StackItem { public EventHandler theEvent, theHandler; public StackItem(EventHandler theEvent, EventHandler theHandler) { this.theEvent = theEvent;...
1
by: Robert Ludig | last post by:
How do I set overlay images for ListViewItems in a Windows Forms ListView? I want to overlay an additional Icon on top of the ListViewItem's icon. Since I can do this in MFC/Win32 I suppose this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.