Click or drag to resize

ListView.SelectItem Method (Typed)

X#
Select or deselect a specific item in a list view.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SelectItem(
	nItem AS LONG,
	 lSelect AS LOGIC
) AS LOGIC
Request Example View Source

Parameters

nItem
Type: Long
Index of the list view items in the list view to be selected or deselected.
lSelect
Type: Logic
Select (TRUE) or deselect (FALSE) the item in the list view. The default setting is TRUE.

Return Value

Type: Logic
TRUE if the list view item was selected; otherwise, FALSE.
See Also