|
-
Aug 27th, 2000, 12:35 PM
#1
Thread Starter
New Member
Hi
Well, i stuck again with listview object. I made one program and i need routine that will search thru listview for some item just like in Help index(where i put one letter in to text box the closest match will be selected),
and here is the code for that
Private Sub Text1_Change()
Dim itmFound As ListItem
Set itmFound = lista.FindItem(Text1.Text, lvwText, , lvwPartial)
If itmFound Is Nothing Then
Else
itmFound.EnsureVisible
itmFound.Selected = True
End If
End Sub
But this code search only in the first colum of listview and what i need is something that will
search thru the other column if this column name is checked(Name, Forname...) like:
if name.checked then
search fot name.....
thanks everyone for help and sorry for my english!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|