Using the new listview

M

Mike Dyer

Hi all,

Sorry if this has been asked and answered a zillion times already.

I'm converting an app to .NET from VB6, and upon first look, it seems that
the new listview is "missing" some pretty useful functionality, namely a
..Key property for each listitem contained in the listview, and the .FindItem
method for searching listitems.

Obviously, I can write some VB code to replace this functionality, but I
don't want to if there's some other way of duplicating this behavior.

I've also noticed that the .Key property seems to have been removed from
other collections, such as menu items.

Any help anyone can provide is greatly appreciated.

TIA,

Mike
 
C

Cor

Mike,
When you are used to VB.Net you are rid of all those specialitys in VB6.
VB.Net is very standarized and when you know the behaviour of one control,
you can suspect them all.
That is in VB6 something different.
And what is wrong writing self a for each loop or that you have a special
function for it.
There are so many control in VB.Net (and now even a directory box), that you
will apriciate it, that it is so standardised and when you see old VB6
behaviour (there are some controls who still have that), you will not
understan why they did it that way.
Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top