ListView.Seek Method (Typed) | |
Search the list view for a particular list view item.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Seek(
uValue,
kSeekType,
nStart,
lWrap,
lPartial
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Seek(
Usual uValue = default,
Usual kSeekType = default,
Usual nStart = default,
Usual lWrap = default,
Usual lPartial = default
)
Request Example
View SourceParameters
- 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