Click or drag to resize

ListView.Seek Method

X#
Search the list view for a particular list view item.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Seek(
	uValue,
	kSeekType,
	nStart,
	lWrap,
	lPartial
) AS USUAL CLIPPER
Request Example View Source

Parameters

uValue (Optional)
Type: Usual
The value to seek. kSeekType must be LV_SEEKVALUE.
kSeekType (Optional)
Type: Usual
A constant that specifies what type of seek to perform. LV_SEEKVALUE causes a seek on a usual value. LV_SEEKTEXT causes a seek on a text string. If the seek is on a Point object, this argument can be LV_SEEKUP or LV_SEEKDOWN to specify a search in the respective directions. In this case, if the argument is omitted, LV_SEEKDOWN is assumed.
nStart (Optional)
Type: Usual
The index of the list view item at which to begin the search. If omitted, the seek begins at the first item.
lWrap (Optional)
Type: Usual
A value of TRUE continues the search at the first list view item if no match is found. If omitted, the default is FALSE, which disables wrapping.
lPartial (Optional)
Type: Usual
A value of TRUE produces a match if the list view item label begins with cText. If omitted, the default is FALSE, which disables partial seeking.

Return Value

Type: Usual
The list view item returned as a result of the seek.
See Also