Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView
Message
From
19/04/2002 08:08:41
 
 
To
19/04/2002 07:52:21
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00646836
Message ID:
00646839
Views:
16
If your ListView control is called ListView1, issue:

Set itmX = ListView1.FindItem([Searched_String], [0_or_1_or_2], , 1)

[Searched_String] is string you looking for. [0_or_1_or_2] specifies where string is searched (0 - Text property; 1 - SubItems property; 2 - Tag property). 1 is specified partially matching search, you asking for.

Also refer to the "FindItem Method (ListView Control)" topic in the MSDN.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform