Re: help with listview box please!!!
- From: "Dave O." <nobody@xxxxxxxxxxx>
- Date: Fri, 9 Feb 2007 10:34:05 -0000
Obviously, there would be little point in having them if you could not get
at the content!
If in doubt try the reverse of what you did to put the data into whatever
you are trying to get data out of.
To compare the main column with X:
If lv.Listitem(Index).Text = X Then
For a subitem in column 1:
If lv.Listitem(Index).SubItem(1) = X Then
You can work out how to get to column 2 yourself!
Regards
Dave O.
"Sizeak" <Sizeak@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:78F6E6DF-0E8B-4178-99A9-7DCC19D3EE4A@xxxxxxxxxxxxxxxx
Just one more stupid question, is it possible to compare against one of
the
subitems rather than the main column. eg if test was equal to the second
column in the list?
.
- References:
- Re: help with listview box please!!!
- From: Randy Birch
- Re: help with listview box please!!!
- From: Dave O.
- Re: help with listview box please!!!
- Prev by Date: Re: Resource Files for Data
- Next by Date: Re: Transparent bitmap background
- Previous by thread: Re: help with listview box please!!!
- Next by thread: Re: COM Interop
- Index(es):
Relevant Pages
|